Syllabus

  1. 01Getting Started with C++Where C++ fits among languages you may know, the conventions C++ code follows, and how source files become executables.4 lessons
    1. 01C++ at a Glance
    2. 02Style and Conventions
    3. 03Compiling and Running
    4. 04Quiz: Getting Started
  2. 02Basic SyntaxThe essentials of C++ syntax for experienced programmers: program structure and I/O, types and initialization, std::string, operators, references and pointers, and a coin-counting project.7 lessons
    1. 01Program Structure and I/O
    2. 02Types and Initialization
    3. 03std::string
    4. 04Operators
    5. 05References and Pointers
    6. 06Project: The Busker's Hat
    7. 07Quiz: Basic Syntax
  3. 03Control FlowBranching and looping in C++: if with initializers, switch and its fall-through rules, the conditional operator, every loop form including range-based for, break and continue, seeded random numbers, and a lookup-table project.6 lessons
    1. 01Conditionals and Switch
    2. 02Loops
    3. 03Break, Continue and Early Exit
    4. 04Random Numbers
    5. 05Project: The Blood Bank Matcher
    6. 06Quiz: Control Flow
  4. 04FunctionsDeclare and define functions, choose how parameters are passed, use default arguments and overloading, write lambdas that capture state, and read command-line arguments.5 lessons
    1. 01Declarations, Definitions and Parameters
    2. 02Default Arguments and Overloading
    3. 03Lambdas
    4. 04Command-Line Arguments
    5. 05Quiz: Functions
  5. 05Object-Oriented ProgrammingClasses in C++: members and access specifiers, constructors, destructors and RAII, the rules of copying, inheritance, and runtime polymorphism with virtual functions.5 lessons
    1. 01Classes and Access Specifiers
    2. 02Constructors, Destructors and RAII
    3. 03Inheritance
    4. 04Virtual Functions and Polymorphism
    5. 05Quiz: Object-Oriented Programming
  6. 06Built-In Data StructuresThe standard library containers you'll use daily: std::array and std::vector, stacks, queues and priority queues, ordered and unordered sets, and ordered and hash maps, with the algorithms that work on them.5 lessons
    1. 01Arrays and Vectors
    2. 02Stacks, Queues and Priority Queues
    3. 03Sets
    4. 04Maps and Hash Maps
    5. 05Quiz: Built-In Data Structures