C++ Curriculum
Before you start: complete Unit P: Computing Foundations Primer. It explains the language-neutral vocabulary and concepts used in every language track, using non-visual examples.C++ is used in game engines, simulation, robotics, finance, desktop software, and performance-critical systems.
Course structure
A complete introductory sequence aligned to Python Units 0–11: setup; foundations; numeric computation; control flow; data structures; input and iteration; functions; object-oriented design; files and exceptions; testing and data analysis; projects; and capstone. The same core problem contexts recur across languages so students focus on syntax, types, runtime behavior, libraries, and idioms.
Environment
Install GCC, Clang, or MSVC with C++20 support. On GCC/Clang, compile with c++ -std=c++20 -Wall -Wextra -Wpedantic -Werror main.cpp -o main; run with ./main.
Complete the shared IDE setup lesson and terminal prerequisite. The course supports keyboard-first work with screen readers, braille displays, magnification, or other access technology.
Lesson example verification
The course includes 53 numbered lessons across Units 1–11 and four structured setup lessons in Unit 0. The numbered lessons have distinct worked examples, lesson-specific mistakes, four practice activities, and five mastery checks.
GCC 13.3.0 and Clang 18.1.3 each compiled and linked all 54 fenced C++ examples in C++20 mode with -Wall -Wextra -Wpedantic -Werror. The checker wraps lesson fragments in a minimal program and supplies common standard-library headers where needed.
This verifies compilation and linking only. The examples have not all been executed with representative input or file fixtures. A fresh mdBook build, complete link crawl, and hands-on screen-reader/braille testing remain outstanding.
GUI, visualization, and workbench accessibility
See the shared GUI, visualization, and workbench accessibility reference for screen-reader support by toolkit, platform-specific activation settings, recommended alternatives, and interfaces that must not be required without an equivalent accessible route.
AI Policy
AI may be used only for personal conceptual understanding and reinforcement. It must not write, complete, autocomplete, repair, or generate course code or assessment solutions.
Recommended introductory books
- Stroustrup, Bjarne. Programming: Principles and Practice Using C++, 3rd edition. Addison-Wesley, 2024. An introduction to programming principles through C++, covering procedural, object-oriented, and generic programming. Author’s book page.
- Gaddis, Tony. Starting Out with C++: From Control Structures Through Objects, 10th edition. Pearson, 2020. A structured first-course text introducing control flow, functions, arrays, pointers, and object-oriented programming. Publisher catalog.
- Downey, Allen B. Think C++: How to Think Like a Computer Scientist. Green Tea Press. A free introductory text emphasizing problem solving and computational thinking. Book page.
Suggested use: Stroustrup’s third edition is the most current full introduction in this list. Gaddis offers a conventional course sequence. Think C++ is freely available but uses an older C++ teaching context; use it for transferable problem-solving concepts rather than as the authority for modern C++20 syntax and libraries.