Skip to content

Debugging Practice

Each program has a bug. Fix it in the editor, run it in the real compiler, and get a plain explanation of what went wrong. Hints first; the solution unlocks after you try.

Stage 1: Absolute Beginner

Stage 2: Conditions and Loops

Stage 3: Functions and Modular Programming

Stage 4: Arrays, Strings, and Data Handling

Stage 5: Pointers and Memory

Stage 6: User-Defined Types and OOP

Stage 7: Files, Errors, and Debugging

Stage 8: Standard Template Library

Stage 9: Modern C++

Stage 10: Data Structures and Algorithms

Want to experiment freely? Open the C++ compiler.