Fundamentals · Free forever
Learn C++ from zero by writing small programs for a ski resort's lift office. Each lesson teaches one idea, then you compile it in the editor and check your answer instantly. Modern C++14, no prior experience needed.
You've joined the lift office at Alpine Ridge, a family-run ski resort near Innsbruck. Lukas, the operations lead, wants the paper lists and pocket calculators replaced by small, fast programs.
Output, comments and compiler errors, variables and types, arithmetic, input, formatting.
if and else, else if, && and ||, and switch.
while and for, break and continue, and reading until a stop value.
std::vector, range-based for, std::string and std::map.
Your own functions, references, default arguments and overloading, then the capstone.
Pass every lesson and the capstone, then the 15-question final quiz, to earn your C++ Fundamentals certificate with a link anyone can verify.
Set up C++ with CMake on Windows, macOS and Linux
Install a C++20 compiler and CMake, then configure, build and test a project from the command line. The same three commands on every operating system.
Classes, structs and enums in C++: protecting your data
When to use a struct and when a class, constructors that validate, const member functions, enum class, and splitting code into headers and source files.
Integers, money and rounding in C++
Choose integer types, avoid overflow, store money in cents, round integer division the way the business wants, know when floating point is fine, and compute percentiles.
Strings in C++: std::string, string_view and parsing text safely
How to work with text in modern C++: std::string vs std::string_view, splitting and trimming, converting numbers strictly, UTF-8 basics, and parsers built as state machines.