Chapters

Twenty chapters, five parts

Each line below is the chapter's What still holds: the one fundamental that coding agents do not change.

Part I Foundations

  1. 01From Python to C: What Python Was HidingThe machine does exactly what the types and bytes say, not what you meant.TutorWeek 1
  2. 02The Working LoopYou answer for every line you submit.TutorWeek 1

Part II C and the Machine

  1. 03Control Flow, Functions, Recursion, and Counting OperationsEvery call gets a frame, and every loop has a count.TutorWeek 2
  2. 04PointersA pointer is an address, not the thing it points to.TutorWeek 3
  3. 05Arrays, Strings, and Matrices: n, n², n³A buffer has a size, and C will not check it for you.TutorWeek 4
  4. 06The Stack and the Heap: Dynamic Memory and OwnershipEvery allocation has exactly one owner who frees it.TutorWeek 5
  5. 07Structs, Headers, and Multi-File ProgramsThe C type cannot say who owns a pointer, so the header must.TutorWeek 5
  6. 08Growable Arrays and Linked Lists: The Cost of GrowthHow you grow a structure decides what it costs.TutorWeek 6
  7. 09Files, Bits, and Function Pointers: ADTs Behind a HeaderAn interface is a promise; the representation behind it is a secret.TutorWeek 6 and 8

Part III Cost and the First Delegation

  1. 10Complexity and Sorting: Your First DelegationAn algorithm's cost is a property you derive, not a feeling.PairWeek 7
  2. 11Specify First: Abstract Data TypesThe spec, not the prompt, decides what the agent builds.PairWeek 8

Part IV C++ and Objects

  1. 12Moving to C++: Is It Really C++?The memory model is the same; C++ lets the type carry the rules.PairWeek 9
  2. 13Classes, Invariants, and Operator OverloadingA class exists to protect an invariant.PairWeek 10
  3. 14Resource Ownership: RAII, the Rules of Zero, Three, and Five, and Smart PointersOwnership is a rule, and in C++ the destructor enforces it.PairWeek 11
  4. 15Inheritance, Polymorphism, and Composition: Reviewing an Agent's DesignDesign choices have costs you must be able to name.PairWeek 12

Part V Generic Code, Data Structures, and Agent Teams

  1. 16Templates and the Standard LibraryChoosing the container is your decision, not the agent's.TeamWeek 13
  2. 17Binary Search TreesA tree is only as fast as it is balanced.TeamWeek 14
  3. 18Hash Tables, Exceptions, and the Search StudyA timing claim without a measurement is a guess.TeamWeek 15
  4. 19Directing a Team of AgentsThe student makes the final call and answers for it.TeamCapstone
  5. 20A First Look at ConcurrencyTwo threads touching the same memory without coordination is undefined behavior, even when it seems to work.TeamOptional