ABOUT / SCOPE & SOURCES
A C++ guide you can actually finish.
80 fundamental lessons, original book studies from pages that were really read, and a complete OSTEP walkthrough. Coverage is recorded honestly. This is not a claim that anyone has “mastered C++.”
Why this guide exists
The topic list was inspired by the CSGuide C++ guide. On 18 September 2026 its public outline listed language fundamentals, objects, memory, and a modern-C++ section that only named nullptr and type traits, marked as still being updated. The original site also has other articles; a missing outline row is not proof that the whole site lacks a topic.
Every lesson and example here is independently written. This is not a reprint, continuation, or authorized mirror. The reference site is marked CC BY-NC-ND 4.0. Visual design reuses the demo.hfang.dev landing system already owned on this host: warm paper, IBM Plex, thin rules, and the particle hero.
Scope
Language fundamentals (16), objects (14), and memory (15) cover the original outline. Modern C++ (16), the standard library (9), concurrency (6), and tooling (4) add move semantics, templates, C++17/20/23 tools, container rules, memory ordering, and diagnostics.
The language focus is C++. C allocation, C strings, and language linkage appear only when the comparison matters. The C++ guide does not try to replace operating systems, networking, databases, or every library facility — except for the separate OSTEP walkthrough, which is an OS companion, not a C++ standard substitute.
Books versus original notes
The book records name edition, source, and what was actually read. Downloading a file is not reading it. Publisher samples are not complete books. Full, partial, and unavailable coverage are marked separately. The original 80 lessons are not automatically a full-book audit.
Practice lessons use original explanations and programs. They are not chapter-for-chapter replacements. Unauthorized copies are not hosted and not linked.
OSTEP
The OSTEP walkthrough covers every numbered chapter of Operating Systems: Three Easy Pieces (v1.10) plus the Virtual Machines and Monitors appendices. Each page is original teaching with a runnable C example where the mechanism can be shown in user space. Official chapter PDFs stay on the authors’ site; this site does not host the book.
How to treat a sentence
Lessons distinguish language rules, library guarantees, and common implementations. Vtable layout, allocator policy, and growth factors are not portable promises. Prefer the working draft and implementation docs over one program’s output.
18 September 2026: 80/80 C++ examples on Linux ARM64, GCC 13.3.0 / libstdc++ with -Wall -Wextra -Wpedantic -Werror -pthread. 19 September: 23/23 book-practice programs on the same compiler; 5,610 internal links. Later on 19 September: English pages under /en/ and a 60-chapter OSTEP walkthrough. 52 C11 examples compiled and ran with gcc -std=c11 -Wall -Wextra -Wpedantic -Werror (and -pthread when needed). 25,193 internal links checked. Unauthorized book copies are not linked. Official OSTEP PDFs remain on the authors’ site. This does not claim every compiler or OS was tested.
Each C++ lesson ships a complete program, expected output, and a compile line. The marked standard is the minimum for that example. Do not build assertion examples with NDEBUG. OSTEP examples are C11 programs compiled with gcc.
Privacy
No accounts, ads, or analytics scripts. Search runs in the browser. Reading progress stays in localStorage under cpp-working-model-v1 and is shared across Chinese and English pages for the same lesson slug. The host may still keep ordinary HTTP logs. Text, answers, and downloads work without JavaScript; search, copy, and progress need it.
Fonts are self-hosted under the SIL Open Font License. The homepage animation can be paused. Reading pages have no background animation.