Course details
C++
Learn what makes C++ fast and demanding, set up a compiler, and write real programs with operators, branches, loops, pointers, references and types. Every lesson builds on one small arcade game, Rocket Run.
Course curriculum
Introduction to C++3 lessons
Meet the language behind game engines and browsers: how it turns source into machine code, the trade it asks you to make, and what it added on top of C.
Setting Up Your Environment3 lessons
Install a compiler, choose an editor or IDE, and compile and run Rocket Run's first line of output, reading compiler errors the fast way.
Basic Operations3 lessons
Predict what arithmetic, logical and bitwise operators produce: integer division, short-circuit conditions and power-up flags packed into one number.
Control Flow and Statements3 lessons
Choose between branches with if, else and switch, know when goto is acceptable, and pick the right loop for counting, waiting and asking at least once.
Pointers and References4 lessons
Use raw pointers and references to work on the original object instead of a copy, then learn where objects live in memory and the exact moment each one is destroyed.
Data Types4 lessons
See how static typing protects you, let auto deduce types, carry changing types safely with std::variant and std::any, and ask an object its real type with RTTI.
