Week 9
This week we continued with the design and implementation of classes. We first used the RandGen class. Then we looked at the Date class: both using and modifying it. We also talked about the Robot class as the next homework will be about it.
We also covered reference parameters (pass by reference) from Chapter 6.2.3 of the textbook. Examples covered in class are not from book, but can be found below.
Powerpoint files
C++ codes discussed in class (some of them might have been modified in class to show extra features)
date_modified.h date_modified_cpp
Recitation Material
Recitation09_Stu Recitation09_TA