online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Curated Link Collection</title> <style> :root { --bg: #0f172a; --card: #1e293b; --accent: #38bdf8; --text: #f8fafc; --muted: #94a3b8; } body { background: var(--bg); color: var(--text); font-family: 'Segoe UI', Roboto, sans-serif; margin: 0; padding: 2rem; display: flex; flex-direction: column; align-items: center; } h1 { font-size: 2rem; margin-bottom: 0.5rem; } p { color: var(--muted); margin-bottom: 2rem; } input { padding: 0.6rem 1rem; width: 300px; border: none; border-radius: 8px; background: var(--card); color: var(--text); outline: none; } .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 2rem; width: 100%; max-width: 1100px; } .card { background: var(--card); border-radius: 12px; padding: 1rem; transition: transform 0.2s, box-shadow 0.2s; } .card:hover { transform: translateY(-3px); box-shadow: 0 4px 20px rgba(56, 189, 248, 0.2); } .card a { color: var(--accent); text-decoration: none; word-break: break-all; } .tag { display: inline-block; background: var(--accent); color: #000; border-radius: 6px; font-size: 0.8rem; padding: 0.2rem 0.5rem; margin-top: 0.5rem; } footer { margin-top: 3rem; font-size: 0.8rem; color: var(--muted); } </style> </head> <body> <h1>Curated Link Collection</h1> <p>A modern and minimal page that displays all your favorite links neatly organized.</p> <input id="search" type="text" placeholder="Search links..."> <div id="links" class="grid"></div> <footer>Generated with ❤️ by GPT-5</footer> <script> const linkData = [ "https://gist.github.com/Phimviett/aee8fe3f355c5dccfef2ea17d7e69d3f", "https://gist.github.com/Phimviett/079b8b2c71d82b4137571e94b54af551", "https://gist.github.com/Phimviett/40e64e8ae2bf261139e5b15187466d3c", "https://gist.github.com/Phimviett/1260fde5afb4d48d4e85fb000479040f", "https://gist.github.com/Phimviett/b76eb7861f8c28bf4c4d90e60a085447", "https://gist.github.com/Phimviett/057077dde26663d39d031419197973f4", "https://gist.github.com/Phimviett/3fc51eb0c746b5351dd98e73b7cc0ddf", "https://gist.github.com/Phimviett/266114df94a9b4e51ace77e336066142", "https://gist.github.com/Phimviett/b2ae238429d948c7a7bba8e859fc92b8", "https://gist.github.com/Phimviett/9dd9e902d08ea398ae525b93a3337605", "https://gist.github.com/sasacncc/ada16a50d2b40511f8cffd570a4dbb00", "https://gist.github.com/sasacncc/dc0586dfaedf1324b4aee6a2e3fb362c", "https://gist.github.com/sasacncc/4669d5d21a754b3ff3a072e884a780df", "https://gist.github.com/sasacncc/f5c2f0576bd74245e924db8ea6140d59", "https://gist.github.com/sasacncc/3f056a119defa5c7c6cf9e76deab0e76", "https://sensionalse.wordpress.com/2025/10/17/demonsde/", "https://sensionalse.wordpress.com/2025/10/16/insideoutt/", "https://baskadia.com/post/8kza9", "https://profile.hatena.ne.jp/ciarosafiorenza/", "https://blognewsdaily.hashnode.dev/chronos-divide-explained-the-ethics-of-controlling-time", "https://blognews.mybloghunch.com/chronos-divide-the-sci-fi-masterpiece-that-redefines-time-travel", "https://reretp.medium.com/denis-villeneuves-chronos-divide-a-mind-bending-exploration-of-time-5972e1b37a5e", "https://blognewsdaily.mystrikingly.com/blog/chronos-divide-a-stunning-vision-of-humanity-s-obsession-with-power", "https://codepen.io/ciarosafiorenza/pen/PwZEwbX", "https://etextpad.com/7wbat9rke6", "https://freepaste.link/cg1wpdneif", "https://paste.feed-the-beast.com/DdIRkMw-uQm", "https://paste.enginehub.org/y2WxhPWgr", "https://pastebin.com/0J9cMKNz", "https://graph.org/Ciarosafiorenza-10-17-2", "https://rextester.com/URM37484", "https://paiza.io/projects/64lJbnIN_fWe5m-GspHBJg?language=php", "https://glot.io/snippets/hc4cz1pc2a", "https://output.jsbin.com/dudihixumo/1" ]; // Detect tag/category from domain function detectTag(link) { if (link.includes('gist.github.com')) return 'Gist'; if (link.includes('wordpress.com')) return 'WordPress'; if (link.includes('medium.com')) return 'Medium'; if (link.includes('hashnode') || link.includes('bloghunch') || link.includes('strikingly')) return 'Blog'; if (link.includes('baskadia')) return 'Article'; if (link.includes('paste') || link.includes('bin') || link.includes('enginehub')) return 'Paste'; if (link.includes('codepen') || link.includes('jsbin')) return 'Code'; if (link.includes('glot') || link.includes('paiza') || link.includes('rextester')) return 'Code Runner'; return 'Other'; } const container = document.getElementById('links'); function renderLinks(filter = '') { container.innerHTML = ''; linkData .filter(link => link.toLowerCase().includes(filter.toLowerCase())) .forEach(link => { const div = document.createElement('div'); div.className = 'card'; div.innerHTML = ` <a href="${link}" target="_blank">${link}</a> <div class="tag">${detectTag(link)}</div> `; container.appendChild(div); }); } renderLinks(); document.getElementById('search').addEventListener('input', (e) => { renderLinks(e.target.value); }); </script> </body> </html>

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue