Skip to content
MasterC++
Start Learning
61 lessons available

Learn C++

A fast, documentation-style platform for learning C++ from the fundamentals through to C++26. Interactive lessons, quizzes and progress tracking. No pointers were harmed in the making of this site.

Everything you need to master C++ (tea not included)

Structured Curriculum

From Hello World to C++26 — carefully ordered lessons that build on each other, like a well-run queue.

Interactive Code Examples

Syntax-highlighted code blocks with proper explanations for every concept.

Quizzes & XP

Test your knowledge with quizzes after each lesson and track your progress.

Best Practices & Pitfalls

Learn the right way to write C++ with highlighted best practices and common blunders, so you can make fresh ones instead.

Curriculum Overview

Structured modules taking you from beginner to expert.

1

C++ Fundamentals

Master the core building blocks of C++ — from your first program to control flow and functions, with only a modest amount of tea required.

8 lessons · 3 chapters

2

Object-Oriented C++

Classes, objects, inheritance, polymorphism, and the pillars of OOP in C++, with rather fewer tears than you might fear.

8 lessons · 3 chapters

3

Memory & Resources

Master C++'s ownership model, from raw pointers through smart pointers and move semantics, and write code that never leaks (unlike the office kettle).

9 lessons · 4 chapters

4

Templates & Generic Programming

Write genuinely generic, reusable, zero-overhead abstractions using templates, concepts and compile-time programming, without once copying and pasting a function.

8 lessons · 3 chapters

5

STL & Algorithms

Master the Standard Template Library — containers, iterators, algorithms, ranges, and functional programming. Rather more satisfying than it sounds.

8 lessons · 3 chapters

6

Error Handling & Safety

Write robust C++ code with proper error handling — exceptions, RAII safety guarantees, sum types, and defensive programming patterns. Panicking is optional, though traditional.

6 lessons · 2 chapters

7

Concurrency

Write correct, efficient multithreaded C++ — threads, synchronisation, atomics and parallel algorithms, without needing a lie-down afterwards.

6 lessons · 2 chapters

8

Modern C++ & Best Practices

The latest C++ standards (C++17/20/23/26), build systems, testing practices, and professional coding guidelines, with only a modest amount of tutting.

8 lessons · 3 chapters

Ready to begin?

Start with your first C++ program and build your skills one lesson at a time. Do put the kettle on first.

Start Your First Lesson