C++: free course
C with classes and much more: used for games, high-performance apps, competitive programming and embedded systems.
Start lesson 1 Open the interactive course Printable course notes
Lessons
- 1 C++ introduction: what C++ is, where it's used, compilers, your first program, iostream, types, strings, control flow and functions
- 2 C++ basics: I/O, types, references and functions
- 3 vector, string, map and the STL algorithms
- 4 Classes and objects in C++: members, constructors, access control, const methods, operator overloading, RAII and smart pointers
- 5 Inheritance, virtual functions and polymorphism
- 6 Project: a shop inventory manager in C++
- 7 C++ for competitive programming: fast I/O, STL containers and algorithms, complexity, common patterns and how to practise