C++ / Linux Systems Programming
A structured self-study course for C/C++ and Linux systems work: language fundamentals, memory ownership, OS memory internals and the Linux toolchain. Read a lesson, test yourself, then come back to what you got wrong.
How it works
- LearnRead a lesson: key concepts first, then the details.
- PracticeWrite answers to its questions, then compare with the model answers.
- TestTake a timed mock exam, or write full answers in the exam sheet.
- ReviewCome back to what you missed.
How to read the lessons
Blue: the core idea — definitions, how it works, key points, worked examples.
Amber: easily-confused pairs, gotchas and mistakes that cost marks or cause bugs.
Modules
C++ Core
Lessons 01–15, 32–44Classes, object lifetime, ownership, inheritance, operators and the everyday language mechanics.
Lessons in this module
- 01 Control Flow
- 02 Pointers
- 03 Stack & Heap Memory
- 04 References
- 05 Classes & Encapsulation
- 06 Classes vs Structs
- 07 How to Write a Class
- 08 Static (outside classes)
- 09 Static (for Classes & Structs)
- 10 Enums
- 11 Constructors
- 12 Destructors & RAII
- 13 Inheritance
- 14 Virtual Functions
- 15 Interfaces / Abstract Classes
- 32 Member Initializer List
- 33 Ternary Operator
- 34 Creating / Instantiating Objects
- 35 The new Keyword
- 36 Implicit Conversion & explicit
- 37 Operators & Operator Overloading
- 38 The this Keyword
- 39 Object Lifetime
- 40 Smart Pointers
- 41 Copying & Copy Constructors
- 42 The Arrow Operator
- 43 std::vector (Dynamic Array)
- 44 Local Static Variables
C++ Language & Safety
Lessons 16–23const/constexpr, arrays, undefined behavior, exceptions and the tools that catch bugs.
OS Memory & Systems
Lessons 24–27Paging, virtual memory, MMU/TLB, allocation, fragmentation, page faults and swapping.
Linux
Lessons 28–31Filesystem navigation, permissions, chmod and ownership from a systems angle.
Lessons in this module
Deep dives
Progress and typed answers are stored only in this browser (localStorage). Nothing is sent anywhere. Shortcuts: / search · ← → previous / next lesson · Esc close.