Modern C++ beginner course
Build a sound mental model for types, containers, lifetimes, ownership, and abstraction—then combine the skills in five practical builds and a task-tracker capstone.
How you will learn
Every lesson connects syntax to lifetime, cost, and behavior instead of teaching isolated language tricks.
Start from the rule, ownership, or data-flow decision.
Compile complete examples and inspect warnings and output.
Finish a focused exercise and cumulative module build.
Course curriculum
Follow the order if C++ is new. Each module depends on lifetime and type decisions introduced before it.
Module 1
Compile complete programs, choose fundamental types, read input safely, and express decisions with predictable control flow.
By the end of this module
Module build
Build a unit converter
Read a value and conversion choice, reject invalid input, calculate with the right numeric types, and format a clear result.
Module 2
Repeat work, design focused functions, understand scope, and use debugger evidence instead of changing code at random.
By the end of this module
Module build
Build a menu-driven statistics tool
Collect repeated values, call focused functions for calculations, handle the quit path, and verify boundary cases with a debugger.
Module 3
Store collections with standard containers, apply algorithms, and reason clearly about references, pointers, lifetimes, and ownership.
By the end of this module
Module build
Build an inventory analyzer
Store products in standard containers, find and sort them with algorithms, and keep ownership explicit without manual delete calls.
Module 4
Model valid state with classes, use composition and polymorphism carefully, and write reusable generic code without hiding costs.
By the end of this module
Module build
Model a small order system
Create value-oriented types, compose pricing behavior, expose a narrow API, and test the rules without depending on console input.
Module 5
Represent failure deliberately, work with files, organize builds and tests, and finish a multi-file command-line application.
By the end of this module
Module build
Ship the Task Tracker capstone
Combine validated models, containers, algorithms, persistence, tests, and build instructions into one finished C++ application.