Week10

Then we started 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. Moreover, this ppt file contains some details about the robot class implementation that will be useful for the next homework. We also covered some of the details of the robot homework.

Powerpoint files

classes2.ppt

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

numberguess_cpp