Unit V: Object-oriented programming
Lecture notes
- Notes for class V.1: Composition and Inheritance
- Notes for class V.2: Virtual functions
- Notes for class V.3: Multiple inheritance
- Notes for class V.4: Polymorphism
Sample Programs
- From class V.1
- From class V.2
- From class V.4
Lab exercises
Reading
You should look at Chapter 8 of the textbook.
This paper, on multiple inheritance in C++,
is also worth a look.