During the third week we continue with Chapter 3 of Friedman & Koffman, in which they introduce Object Oriented Programming (OOP) with the string class. At this stage we would like you to concentrate on writing user defined classes, and not just use the classes provided by the system. Thus we have provided a web page supplement Introduction to Object Oriented programming which is the main required reading for this week. In this supplement we have used Friedman & Koffman's case study on computing the weight of a batch of washers (Section 3.1 - pg 107) and modified it, first in terms of a function, and then in terms of a class. Be sure to read and understand this supplement before continuing.
The various relevant programs for this week have been loaded onto condor. After logging in, change directory to the week3 directory and list the various files as follows:
cd /home/condor/et181/week3
ls
Note that before modifying or compiling, or printing any example in the week3 directory, you will first need to copy that example to your home directory, and return to your home directory as in the following example:
cp floorArea.cpp ~
cd