C++ Roadmap: Beginner to Advanced
New to C++? Try the beginner tutorial first. Every stage builds on the last. Lessons unlock as you complete their prerequisites. Topics marked Coming Soon are planned but not written yet.
- Stage 118 lessons available
Absolute Beginner
Set up your tools, write programs, and learn variables, types and operators.
Introduction to programming and C++ · How C++ compilation works · Installing a compiler and setting up VS Code · Writing and running your first program · Understanding main(), headers, statements, and braces · Comments and code formatting · Output with cout · Input with cin · Variables and constants · Fundamental data types · Identifiers and naming rules · Arithmetic operators · Assignment and comparison operators · Logical operators · Increment and decrement · Operator precedence · Type conversion and casting · Basic expressions and calculations
Open stage →0/18 - Stage 216 lessons available
Conditions and Loops
Make decisions and repeat work.
Boolean expressions · if statements · if-else · Else-if ladders · Nested conditions · switch statements · Conditional operator · for loops · while loops · do-while loops · Nested loops · break and continue · Input validation · Common infinite-loop mistakes · Pattern printing · Number-based problem solving
Open stage →0/16 - Stage 315 lessons available
Functions and Modular Programming
Split programs into reusable, testable pieces.
Why functions matter · Declaring and defining functions · Function parameters · Return values · Void functions · Pass by value · Pass by reference · Default arguments · Function overloading · Local and global scope · Variable lifetime · Recursion · Base cases and recursive cases · Header files and source files · Basic program modularization
Open stage →0/15 - Stage 416 lessons available
Arrays, Strings, and Data Handling
Store and process collections of data.
One-dimensional arrays · Array indexing and bounds · Traversing arrays · Finding minimum and maximum · Linear search · Basic sorting · Two-dimensional arrays · Multidimensional arrays · C-style character arrays · std::string · String operations · String input with spaces · Vectors · Vector operations · Range-based loops · Basic algorithms using collections
Open stage →0/16 - Stage 516 lessons available
Pointers and Memory
Addresses, pointers, dynamic memory and safe ownership.
Memory addresses · Address-of operator · Pointer declarations · Dereferencing pointers · Null pointers · Pointers and arrays · Pointers and functions · References versus pointers · Dynamic allocation concepts · new and delete, including their risks · Memory leaks and dangling pointers · RAII · Smart pointers · unique_ptr · shared_ptr and weak_ptr · Safe memory-management practices
Open stage →0/16 - Stage 626 lessons available
User-Defined Types and OOP
Structures, classes, inheritance, polymorphism and object lifetime.
Structures · Enumerations · Type aliases · Classes and objects · Access specifiers · Encapsulation · Constructors · Constructor overloading · Destructors · The this pointer · Static data members and methods · Friend functions · Composition · Inheritance · Public, protected, and private inheritance · Function overriding · Virtual functions · Runtime polymorphism · Abstract classes · Interfaces through abstract classes · Virtual destructors · Operator overloading · Copy constructors · Copy assignment · Move constructors and move assignment · Object lifetime and resource management
Open stage →0/26 - Stage 715 lessons available
Files, Errors, and Debugging
Work with files, handle errors and find bugs.
File streams · Reading text files · Writing text files · Appending to files · File-open errors · String streams · Exceptions · try, catch, and throw · Standard exception types · Input validation · Debugging in VS Code · Reading compiler errors · Using assertions · Defensive programming · Testing program behavior
Open stage →0/15 - Stage 818 lessons available
Standard Template Library
Containers, iterators and algorithms from the standard library.
Introduction to the C++ Standard Library · Containers and iterators · vector · array · deque · list · stack · queue · priority_queue · set and multiset · map and multimap · unordered_set · unordered_map · Algorithms such as sort, find, and count · Custom sorting with comparators · Lambda expressions · Iterator basics · Common container-selection mistakes
Open stage →0/18 - Stage 922 lessons available
Modern C++
C++11 through C++23 features, each labelled with its standard.
Namespaces · auto · Range-based loops · nullptr · enum class · Uniform initialization · constexpr · Type inference and decltype · Lambda captures · Structured bindings · optional · variant and tuple · Smart pointers · Move semantics · Perfect-forwarding concepts · Templates · Function templates · Class templates · Template specialization concepts · Concepts and constraints · Modules overview · Modern C++ best practices
Open stage →0/22 - Stage 1022 lessons available
Data Structures and Algorithms
Analyse efficiency and implement classic structures.
Algorithm analysis · Big-O notation · Time and space complexity · Linear and binary search · Bubble, selection, and insertion sort · Merge sort · Quicksort · Linked lists · Stacks and queues · Hash tables · Trees and binary search trees · Tree traversals · Heaps and priority queues · Graph representations · Breadth-first search · Depth-first search · Recursion and backtracking · Greedy algorithms · Dynamic programming fundamentals · Two-pointer techniques · Sliding-window techniques · Common interview problem-solving patterns
Open stage →0/22 - Stage 1118 lessons available
Advanced C++ and Software Engineering
Advanced topics: optional for building practical apps.
Object lifetime and value categories · Copy elision · RAII and exception safety · Undefined behavior · Const correctness · Templates in more depth · Generic programming · Concurrency fundamentals · Threads and synchronization concepts · Mutexes and race conditions · Build systems overview · Multi-file project structure · Compiler warnings · Sanitizers and debugging tools · Profiling and performance · Basic design principles · Testing strategies · Code readability and maintainability
Open stage →0/18 - Stage 1213 lessons available
Practical C++ Projects
Guided projects broken into milestones.
Console calculator · Number guessing game · Multiplication-table generator · Student marks and grade manager · Quiz application · Contact book · Expense tracker with file storage · Library management system · Inventory management system · Object-oriented banking simulation · Data-structure visual exercise · Command-line task manager · Final capstone project
Open stage →0/13 - Stage 1312 lessons available
Beyond the Course: Contests, Algorithms, Games and Interviews
Optional extra tracks: competitive programming, advanced algorithms, game basics and interview prep.
Contest setup and fast I/O · Prefix sums · Bit manipulation · Dijkstra shortest paths · Union-find (disjoint sets) · Tries for words · The game loop · Tic-tac-toe board logic · Random numbers for games · Explaining your approach: Two Sum · Classic C++ concept questions · Maximum subarray (Kadane)
Open stage →0/12 - Stage 146 lessons available
Stacks, Queues and Deques in Depth
Pro: implement and combine linear structures like a pro.
Stack implementation · Queue implementation · Deque and sliding minimum · Monotonic stack · Expression evaluation · Stack queue design problems
Open stage →0/6 - Stage 156 lessons available
Linked Structures Mastery
Pro: pointer-heavy structures from lists to skip lists.
Singly linked list review · Doubly linked list · Circular lists · Fast and slow pointers · LRU cache design · Skip lists intro
Open stage →0/6 - Stage 166 lessons available
Trees in Depth
Pro: BSTs, self-balancing trees and range-query structures.
BST operations · BST validation and recovery · AVL rotations · Segment tree · Fenwick tree · Tree serialization
Open stage →0/6 - Stage 175 lessons available
Heaps and Priority Queues
Pro: build heaps from scratch and solve scheduling problems.
Binary heap from scratch · Heapsort and std algorithms · Priority queue patterns · Running median · Scheduling with heaps
Open stage →0/5 - Stage 185 lessons available
Hashing
Pro: how hash tables work and when to roll your own.
How hash tables work · unordered map in practice · Custom hash functions · Rolling hash Rabin Karp · Two Sum and hashing patterns
Open stage →0/5 - Stage 195 lessons available
Graph Algorithms
Pro: shortest paths, spanning trees and connectivity.
Topological sort · Bellman Ford · Floyd Warshall · Minimum spanning tree · Strongly connected components
Open stage →0/5 - Stage 205 lessons available
Dynamic Programming
Pro: from knapsack to bitmask and tree DP.
Knapsack zero one · Longest common subsequence · DP on trees · Bitmask DP · Digit DP
Open stage →0/5 - Stage 215 lessons available
String Algorithms
Pro: pattern matching and string hashing at contest level.
KMP prefix function · Z function · String hashing applications · Tries for strings · Aho Corasick intro
Open stage →0/5 - Stage 225 lessons available
Advanced C++ Deep Dive
Pro: move semantics, forwarding, concepts, ranges and threads.
Move semantics deep dive · Perfect forwarding · Concepts and constraints · Ranges and views · Threads and async
Open stage →0/5 - Stage 235 lessons available
System Design in C++
Pro: design real services — caching, rate limiting, queues and APIs.
Designing a URL shortener · Caching strategies · Rate limiting · Message queues basics · API design principles
Open stage →0/5 - Stage 245 lessons available
Capstone Projects
Pro: build a JSON parser, thread pool, inverted index and allocator.
Capstone JSON parser · Capstone thread pool · Capstone inverted index · Capstone memory allocator · Capstone benchmarking
Open stage →0/5 - Stage 255 lessons available
Mastery Review and Final Assessment
Pro: consolidate everything and prove your mastery.
Review Big O mastery · Review STL mastery · Review pointers memory mastery · Review OOP mastery · Final assessment
Open stage →0/5 - Stage 268 lessons available
Expert Modern C++
Pro: C++17 compile-time branches, C++20 concepts and ranges, coroutines, templates and atomics.
Compile-time programming with constexpr · Variadic templates and fold expressions · std variant and the visitor pattern · C++20 coroutines and generators · Atomics and memory ordering · C++17 if constexpr and type traits · C++20 concepts and constrained interfaces · C++20 ranges and lazy views
Open stage →0/8 - Stage 278 lessons available
Practical C++ Toolkit
Pro: C++23 expected, if consteval and move-only callbacks, plus views, time, regex and files.
std optional and error handling · String view and span · Time with std chrono · Regular expressions with std regex · Working with files using std filesystem · C++23 expected and recoverable errors · C++23 if consteval and compile time paths · C++23 move only callables
Open stage →0/8 - Stage 285 lessons available
Game Development in C++
Pro: build real game systems — the game loop, 2D vector math, collisions, an entity component system and a playable text adventure.
The game loop · 2D vectors and movement · Collision detection · Entity component system basics · Build a text adventure game
Open stage →0/5 - Stage 295 lessons available
Performance Engineering
Pro: measure real workloads, improve cache locality, reduce allocation costs, optimize algorithms and build a reproducible performance investigation.
Measurement and benchmarking · Cache friendly data layout · Allocation and resource costs · Algorithmic performance · Performance investigation workflow
Open stage →0/5 - Stage 305 lessons available
Build Your Own Interpreter
Pro: tokenize source, parse precedence, build expression trees, manage variables and execute a tiny language with useful errors.
Tokenization and source locations · Parsing precedence and parentheses · Abstract syntax trees and evaluation · Variables environments and errors · Build a tiny interpreter
Open stage →0/5