Lecture 7: Objects & Classes
Tuesday 02/20, 2007
[Up]
[Previous Lecture]
[Next Lecture]
Assigned Reading:
Slides As Shown:
Topics Covered:
- Reminders about Project 0 and Project 1.
- Recap: can't call alternate constructor from default constructor.
This is not the usual mechanism.
- Discussed Aggregation (a.k.a. Composition). See slides.
Spent some time on const reference as the type of the return
value.
- Discussed Friends. See slides.
Spent some time on header files that include other header files.
- More progress on designing a ReallyLongInt class.