Syllabus

  1. 01Hello, C++Write your first C++ program, print text with std::cout, add comments, learn how a compiler turns source code into a program you can run, and tell compile-time, link-time, run-time and logic errors apart.6 lessons
    1. 01Your First C++ Program
    2. 02Printing with std::cout
    3. 03Comments
    4. 04Compiling and Running
    5. 05Kinds of Errors
    6. 06Quiz: Hello, C++
  2. 02Variables and TypesStore values in typed variables, use int, double, char, bool and std::string, do arithmetic, convert between types, and read input with std::cin.6 lessons
    1. 01Declaring Variables
    2. 02The Basic Types
    3. 03Arithmetic and Assignment
    4. 04Conversions, auto and const
    5. 05Reading Input with std::cin
    6. 06Quiz: Variables and Types
  3. 03Conditionals and LogicMake your programs choose. Compare values, branch with if, else if and else, pick between cases with switch, combine conditions with logical operators, and draw random numbers with the standard library.7 lessons
    1. 01If Statements
    2. 02Else and Else If
    3. 03Switch Statements
    4. 04Logical Operators
    5. 05The Conditional Operator
    6. 06Random Numbers
    7. 07Quiz: Conditionals and Logic
  4. 04Practice ProjectsCombine output, variables, arithmetic, input, conditionals and random numbers in five small programs: a recipe scaler, a ladder check, a ticket price calculator, a plant care advisor and a dice encounter.6 lessons
    1. 01Project: Recipe Scaler
    2. 02Project: Ladder Check
    3. 03Project: Ticket Price Calculator
    4. 04Project: Plant Care Advisor
    5. 05Project: Dice Encounter
    6. 06Quiz: Reading Project Code