An interactive C++ learning path
Read a short explanation, see a worked example, then write, run, and debug real C/C++ code directly in this page. Exercises are auto-graded against hidden test cases -- no local toolchain required.
C Foundations
availableVariables, operators and precedence, control flow, printf/scanf, and how the primitive types actually behave (including overflow).
7 lessons · 23 exercises
Functions, Arrays & Pointers
availablePass-by-value vs. pass-by-reference, arrays, pointer arithmetic, malloc/free, and the stack vs. the heap.
7 lessons · 24 exercises
Build Tooling & Debugging Literacy
availableHow compilation actually works (preprocess, compile, assemble, link), reading compiler errors, CMake, gdb/lldb breakpoints, and the mental model behind ASan/valgrind.
4 lessons · 12 exercises
Classes & Objects
availableConstructors and destructors, encapsulation, and building small value types from scratch.
5 lessons · 19 exercises
Operator Overloading & Resource Management
availableCopy semantics, the rule of three/five, RAII, and namespaces.
5 lessons · 17 exercises
Inheritance & Polymorphism
coming soonBase and derived classes, virtual functions, abstract classes, and exceptions.
Templates & Generic Programming
coming soonFunction templates, class templates, and mixing OOP with generic code.
The STL
coming soonvector, map, iterators, algorithms, lambdas, and function objects.
Modern C++ & Numerical Building Blocks
coming soonSmart pointers, <random>, <chrono>, and basic statistics / Monte-Carlo-flavored numerical exercises.
Capstone Projects
coming soonOpen-ended builds -- a small matrix library, a toy option-pricing simulator, a text-adventure engine, a mini shell -- graded by rubric instead of unit tests.