Courses & Projects
Twenty guided builds from first print to JSON configs. Open a project for step by step theory, incremental code, and a runnable playground.
Hello World
Build the smallest complete v++ program and understand the program entry point, output, and exit status.
Variables & Math
Learn local bindings, type inference, integer arithmetic, and string concatenation.
Functions
Define reusable functions with explicit parameter types and return types.
Loops
Repeat work with while, range based for, and array iteration while using mutable bindings.
Arrays
Create arrays, iterate over them, index elements, and pass arrays to typed functions.
Structs
Model related data with named fields and pass structured values into functions.
Enums
Represent a closed set of named states and use match to handle each variant.
Option & Result
Represent successful values, missing values, and recoverable errors without exceptions.
Pattern Matching
Use exhaustive matching over enums so every legal state has defined behavior.
FizzBuzz
Combine modulo arithmetic, conditionals, functions, and a mutable loop counter.
Fibonacci
Understand recursion, base cases, and how a function can call itself.
Generics
Write functions that work across types and understand explicit type arguments with monomorphization.
Traits
Define shared behavior and provide statically dispatched implementations for different structs.
Modules
Split a program across files and import reusable public functions.
Calculator
Build a small calculator using enums, match, and Result based error handling.
Word Counter
Analyze an array of strings using len, iteration, mutable accumulators, and comparisons.
Guessing Game
Combine functions, conditionals, arrays, and early loop termination into game logic.
Todo List
Model tasks with structs and booleans, print state conditionally, and count completed tasks.
File Notes
Use the filesystem standard library to write a file, check its existence, and read it back.
JSON Config
Parse JSON, stringify it, and model configuration data with a typed struct.
