Exercises from the École 42 C++ Piscine, covering the language module by module — from basic classes to templated STL-like containers. Each cXX folder is a self-contained module with its own exercises (exYY) and Makefile.
| Module | Topic |
|---|---|
| c00 | Namespaces, classes, member functions, stdio streams, initialization lists, static |
| c01 | Memory allocation, pointers to members, references, switch statements |
| c02 | Ad-hoc polymorphism, operator overloading, canonical form |
| c03 | Inheritance |
| c04 | Subtype polymorphism, abstract classes, interfaces |
| c05 | Repetition and exceptions |
| c06 | C++ casts (static_cast, dynamic_cast, reinterpret_cast) |
| c07 | Templates |
| c08 | Templated containers, iterators, algorithms |
| c09 | STL containers applied to concrete algorithmic problems |
Each exercise has its own Makefile:
cd c0X/exYY && makeC++98 standard, no Boost, no external libraries — the goal is to understand what the STL and modern C++ idioms are actually doing under the hood.