Syllabus

  1. 01Classes and ObjectsCreate your own types with classes. Give them data members and member functions, protect their data with access specifiers, set them up with constructors, clean up with destructors, and split declarations from definitions.6 lessons
    1. 01Classes and Members
    2. 02Public and Private
    3. 03Constructors
    4. 04Destructors and Object Lifetime
    5. 05Member Functions Outside the Class
    6. 06Quiz: Classes and Objects
  2. 02ProjectDesign a small class from scratch: a library card that enforces borrowing rules through its public interface, keeps its titles in a vector and splits a definition away from its declaration.2 lessons
    1. 01Project: Library Card
    2. 02Quiz: Designing the Card