Guides
Learn C+
Practical, hands-on tutorials. Every code sample is compiled against the real cpc before it ships, so what you read is what runs.
For builders
Your first C+ program
beginnerInstall the toolchain, write a real C+ program, and learn the write, audit, run loop that C+ is built around. No prior systems experience needed.
Structs, ownership, and errors in C+
intermediateModel your data with structs and methods, understand C+ ownership without the borrow-checker fight, and handle errors as plain values. With verified, runnable examples.
FFI, real-time, and performance in C+
expertCall C and let C call you back, give the optimizer the aliasing facts it needs, and let the compiler prove a hot path never allocates or blocks. All with verified examples.
For LLMs
Writing correct C+: a guide for language models
A dense generation guide for an LLM about to write or edit C+. The compiler-enforced rules, the canonical patterns, the things never to propose, and the self-audit loop.
Navigate C+ by its code graph, not grep
How a language model understands a C+ codebase using cpc's resolved, typed code graph (cpc query and cpc mcp) instead of grep: precise definitions, callers, and a one-call context pack.
Control a C+ desktop app from a language model
How a C+ application exposes a native AppKit, GTK, or WinUI 3 interface to embedded and external agents through stable identities, grants, and MCP.