Skip to content

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.

  1. 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

    0/18
    Open stage →
  2. 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

    0/16
    Open stage →
  3. 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

    0/15
    Open stage →
  4. 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

    0/16
    Open stage →
  5. 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

    0/16
    Open stage →
  6. 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

    0/26
    Open stage →
  7. 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

    0/15
    Open stage →
  8. 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

    0/18
    Open stage →
  9. 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

    0/22
    Open stage →
  10. 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

    0/22
    Open stage →
  11. 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

    0/18
    Open stage →
  12. 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

    0/13
    Open stage →
  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)

    0/12
    Open stage →
  14. 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

    0/6
    Open stage →
  15. 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

    0/6
    Open stage →
  16. 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

    0/6
    Open stage →
  17. 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

    0/5
    Open stage →
  18. 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

    0/5
    Open stage →
  19. 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

    0/5
    Open stage →
  20. 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

    0/5
    Open stage →
  21. 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

    0/5
    Open stage →
  22. 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

    0/5
    Open stage →
  23. 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

    0/5
    Open stage →
  24. 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

    0/5
    Open stage →
  25. 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

    0/5
    Open stage →
  26. 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

    0/8
    Open stage →
  27. 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

    0/8
    Open stage →
  28. 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

    0/5
    Open stage →
  29. 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

    0/5
    Open stage →
  30. 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

    0/5
    Open stage →