These are intentionally small programs. Their purpose is to isolate one language idea at a time and provide observable output that can be checked automatically.
| Program | Focus | Expected output |
|---|---|---|
hello_world.cpp |
program structure and output | Hello from C++! |
variables.cpp |
constants and formatting | age and two-decimal price |
counting_loop.cpp |
loop bounds and separators | 1 2 3 4 5 |
Build and test from the repository root with CMake and CTest. The programs avoid platform-specific behavior so they can be compared on Linux and Windows.