Week 8

Then we covered very little about classes (using, understanding, design, implement, update). These are scattered in the Chapters 5, 6 and 7 of the textbook. Some parts of those chapters are directly related to classes. Section numbers are given in the classes2.ppt file. Some examples are not in the book but all examples covered in lectures are given below.

Powerpoint files

classes2

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

dice_h

dice_cpp

roll_cpp

testdice_cpp

randgen_h

randgen_cpp

prompt.h prompt_cpp

RobotsModified

Recitation Material

Recitation08_Stu Recitation08_TA