How to Study

  • Write from scratch: You cannot learn programming by just reading notes. You must write and run the code yourself.
  • Don't rely on AI too early: When you get stuck, try to debug it yourself first. Resorting to AI immediately skips the critical learning process.

Course Roadmap

Each week builds directly on previous ones. Follow this path top-to-bottom.

PHASE 1 Foundations Refresh the C++ you need before building classes
Week 1 Revision
0%

A quick revision of C++: control flow, functions, pointers and arrays.

PHASE 2 Classes & Objects Design your own types that keep data and behaviour together
Week 2 Classes I
0%
Builds on: Week 1 โ€” Revision

Classes and objects: getters and setters, constructors and destructors.

Week 3 Classes I
0%
Builds on: Week 2 โ€” Classes I

Object parameters, separate header and source files, arrays of objects.

Week 4 Classes II
0%
Builds on: Week 3 โ€” Classes I

Const members, static members and composition.

Exam Mockup Midterm
Tests: Week 1 (Revision) Weeks 2 to 4 (Classes I and II)

A mock exam on paper: tracing constructors and destructors, finding const and static errors, and writing classes.

PHASE 3 Advanced Classes Manage memory yourself and reuse classes
Week 5 Classes II
0%
Builds on: Week 4 โ€” Classes II

Dynamic memory, deep copy, this pointer and friend functions.

PHASE 4 Inheritance Build new classes from existing ones
Week 6 Inheritance
0%
Builds on: Week 5 โ€” Classes II

Base and derived classes, constructors and destructors in derived classes, and multiple inheritance.

Week 7 Polymorphism
0%
Builds on: Week 6 โ€” Inheritance

Base-class pointers, virtual functions and virtual destructors.

PHASE 5 Operators Make your classes work with the usual operators
Week 8 Operator Overloading
0%
Builds on: Week 7 โ€” Polymorphism

Member operators, comparison and increment operators, and friend functions for streams.

Exam Mockup Final
Tests: The whole course (Weeks 1 to 8)

A mock exam on paper covering the whole course, with most questions from Weeks 5 to 8: tracing inheritance and virtual functions, finding compile errors, and writing classes.