Week 9

This week we continued with the design and implementation of classes. We looked at the Date class: both using and modifying it. We also designed a class from specification: Question class and practiced the iterative enhancing design approach. We also talked about the Robot class as the next homework will be about it.

Powerpoint files

classes3

C++ codes discussed in class (some of them might have been modified in class to show extra features)

randgen_h

randgen_cpp

numberguess_cpp

date.h date_cpp

usedate_cpp

datedemo_cpp

fathersday_cpp

date_modified.h date_modified_cpp

demodatemodified_cpp