Interactive course
C++ Course
Learn modern C++ from scratch with guided exercises, static validation, and Compiler Explorer integration: from basic syntax and data types to classes and object-oriented programming.
Static verification via keywords + execution on Compiler Explorer (one click for copy code + open).
01 · C++ Fundamentals
The foundations: variables, primitive data types, arithmetic-logic operators, and basic input/output with std::cout and std::cin.
- 1.1Variables and data typesPrimitive types (int, double, char, bool) and complex objects (std::string). Declaration, initialization, and scoping.~10 min
- 1.2OperatorsArithmetic, relational, logical, and assignment operators. Precedence and expressions.~8 min
- 1.3Input/Output and streamsStandard streams from the iostream library: sending output with std::cout and reading input with std::cin.~10 min
02 · Control Flow
Conditional expressions to make decisions and loops to repeat instructions.
03 · Functions and References
Decompose code into reusable blocks and understand how C++ passes data in memory.
04 · Object-Oriented Programming
Introducing classes, encapsulation, and automatic resource management.
05 · Data Structures and Pointers
Manage collections of data and understand how physical memory works using pointers.
06 · Inheritance and Polymorphism
Extend existing classes and implement polymorphic behaviors using virtual functions and inheritance.
- 6.1Inheritance in C++Create class hierarchies with public inheritance, understand the protected specifier, and invoke base class constructors.~12 min
- 6.2Polymorphism and virtual functionsResolve methods at runtime using the virtual keyword, understand virtual destructors, and pure abstract classes.~15 min
07 · Smart Pointers
Modern and safe dynamic memory management without leaks using standard library smart pointers.
08 · Templates
Introduce generic programming by writing reusable functions and classes independent of data types.