Unit II: Classes
Lecture notes
- Notes for class II.1: Classes and objects
- Notes for class II.2: Class design
- Notes for class II.3: Constructors and destructors
- Notes for class II.4: Towards object orientation
Sample Programs
- From Lecture II.1:
- From Lecture II.2:
- From Lecture II.3:
- From Lecture II.4:
Lab exercises
Reading
You should look at Chapters 4 and 5 (especially 5.1-5.3, 5.7 and 5.10)
of the textbook.
Other material