C++ Notes
14 chapters · Beginner to Advanced · Always free
Course Outline
14 chapters planned. Full lesson notes being written now.
Introduction to C++
History of C++, how it compiles, and why it is still one of the most powerful languages.
Variables & Data Types
Primitive types, constants, type inference and the difference between C and C++ types.
Operators & Expressions
Arithmetic, comparison, logical, bitwise and ternary operators with precedence.
Control Flow
if/else, switch/case, while, do-while, for loops and jump statements.
Functions
Declaring, defining, overloading, default parameters, inline and recursive functions.
Arrays & Strings
C-style arrays, C++ std::string, and basic string manipulation methods.
Pointers & References
Memory addresses, pointer arithmetic, null pointers and reference variables.
Dynamic Memory
Heap allocation with new/delete, memory leaks, and smart pointers overview.
Object-Oriented Programming
Classes, objects, constructors, destructors, encapsulation and access specifiers.
Inheritance & Polymorphism
Single and multiple inheritance, virtual functions, override, and abstract classes.
Templates
Function templates, class templates, template specialisation and variadic templates.
STL — Standard Template Library
Containers (vector, map, set, list), iterators, and common algorithms.
Exception Handling
try/catch/throw blocks, exception specifications and custom exception classes.
Modern C++ (C++11–C++20)
Lambda expressions, auto, range-based for, constexpr, move semantics and concepts.