Unit VI: Simple Classes
Lecture notes
- Notes for class VI.1:
- There were no notes for class VI.2.
- There were no notes for class VI.3.
Sample Programs
- Here is the program
simple-class.cpp that
contains the simple class examples that we looked at in class.
- Here is the program class.cpp that
contains the address book example that is mentioned in the notes.
Lab exercises
Reading
As I explained in class, the concept of a class is the basis for
a lot of stuff that we cover in CIS 15. In this course we only make very
basic uses of classes and objects.
Since the textbook is not constrained in the same way, it goes much further
than we need to.
The few things we covered are mainly dealt with on pages 261 and 262.