C++ From Scratch
Overview
This section collects implementation-first C++ series. The goal is to focus on code structure, APIs, memory, tensors, build setup, and debugging. When a post needs theory, it links to the canonical theory article instead of repeating it.
Series
C++ Project Structure
Understand folders, headers, source files, compiler stages, linker errors, ODR, and build systems.
CMake for C++ Projects
Learn what CMake is, why it is useful, how licensing works, and how to build a tiny LibTorch program.
Transformers in C++
Build Transformer components and models with LibTorch, from attention heads to training loops.