C++
Learn modern C++ — pointers, references, memory, classes, templates and the Standard Template Library, explained with short programs.
130 lessons20 modulesFree to read
Course content
Module 1
Getting Started
Module 2
Variables, Types & Constants
- Not startedFundamental Data TypesLesson
- Not startedVariables & InitializationLesson
- Not startedauto & Type DeductionLesson
- Not startedConstants: const & constexprLesson
- Not startedType Conversions & CastsLesson
- Not startedInteger Limits & Fixed-Width TypesLesson
- Not startedScope, Lifetime & NamespacesLesson
Module 3
Input, Output & String Basics
Module 4
Operators & Control Flow
- Not startedArithmetic, Relational & Logical OperatorsLesson
- Not startedIncrement, Assignment, Ternary & BitwiseLesson
- Not startedif, else if & elseLesson
- Not startedswitch StatementsLesson
- Not startedLoops: while, do-while & forLesson
- Not startedRange-based for LoopsLesson
- Not startedbreak, continue & Nested LoopsLesson
Module 5
Functions
Module 6
Arrays, Vectors & Strings
Module 7
Pointers & References
- Not startedThe Memory Model: Stack & HeapLesson
- Not startedPointers: &, * and nullptrLesson
- Not startedReferences vs PointersLesson
- Not startedPointer Arithmetic & ArraysLesson
- Not startedconst with Pointers & ReferencesLesson
- Not startedDynamic Memory: new & deleteLesson
- Not startedFunction PointersLesson
Module 8
Classes & Objects
- Not startedWhy OOP? struct vs classLesson
- Not startedMembers, Access Specifiers & EncapsulationLesson
- Not startedConstructors & Initializer ListsLesson
- Not startedDestructors & RAIILesson
- Not startedThe this Pointer & const Member FunctionsLesson
- Not startedStatic MembersLesson
- Not startedfriend Functions & ClassesLesson
- Not startedSplitting Classes into .h and .cpp FilesLesson
Module 9
Inheritance & Polymorphism
- Not startedInheritance BasicsLesson
- Not startedConstructor & Destructor OrderLesson
- Not startedOverriding: virtual, override & finalLesson
- Not startedAbstract Classes & InterfacesLesson
- Not startedVirtual Destructors & How vtables WorkLesson
- Not startedMultiple Inheritance & the Diamond ProblemLesson
- Not startedComposition vs InheritanceLesson
- Not starteddynamic_cast & RTTILesson
Module 10
Operator Overloading & Copy/Move
Module 11
Modern Memory Management
Module 12
Templates & Generic Programming
Module 13
STL Containers
- Not startedSTL Overview: Containers, Iterators, AlgorithmsLesson
- Not startedSequence Containers: vector, deque, listLesson
- Not startedOrdered Containers: set & mapLesson
- Not startedHash Containers: unordered_map & unordered_setLesson
- Not startedContainer Adaptors: stack, queue, priority_queueLesson
- Not startedpair, tuple, optional, variant & anyLesson
- Not startedIterators & Iterator InvalidationLesson
- Not startedChoosing the Right ContainerLesson
Module 14
STL Algorithms & Lambdas
Module 15
Exceptions & Error Handling
Module 16
Files & Streams
Module 17
Modern & Advanced C++
- Not startedTour of Modern C++: C++11 to C++23Lesson
- Not startedenum class, Aliases & AttributesLesson
- Not startedThreads: std::thread & std::jthreadLesson
- Not startedSynchronization: mutex, atomic & condition_variableLesson
- Not startedstd::async & FuturesLesson
- Not startedModules (C++20) & Large ProjectsLesson
- Not startedCMake BasicsLesson
- Not startedCoroutines & GeneratorsLesson
- Not startedUndefined Behaviour & Performance TipsLesson
Module 18
Data Structures & Algorithms
- Not startedBig-O & Complexity AnalysisLesson
- Not startedA Templated Linked List ClassLesson
- Not startedImplementing a Stack & QueueLesson
- Not startedBinary Search TreesLesson
- Not startedGraphs: BFS & DFSLesson
- Not startedSorting & Searching ImplementationsLesson
- Not startedDynamic Programming BasicsLesson
- Not startedCompetitive Programming TipsLesson
Module 19
Projects
- Not startedProject: Bank Management SystemProject
- Not startedProject: Student Records with STL & FilesProject
- Not startedProject: Library System with InheritanceProject
- Not startedProject: Expense Tracker with BudgetsProject
- Not startedProject: Tic-Tac-Toe with an Unbeatable AIProject
- Not startedProject: Build Your Own Generic ContainerProject
- Not startedProject: Multithreaded Task SchedulerProject
Module 20