CS 241: C++ Provided Code for Lab 3



Here is a single file that contains all of the files described below. Just save it and then unzip it (use WinZip on the PCs, unzip in unix, and an standard unzip program on other platforms).

o c++-lab3-provided.zip


The following files are being provided:
o makefile --- here is a makefile. Modify it as needed. See using simple makefiles for more on this.

You can get a good copy of this makefile by uncompressing the provided file with everyting. Do not save it from here since the tabs will be changed to spaces which will cause problems.

o stdinc.h The standard include file has been modified for using the random number generator and the system clock for seeding it.

o driver1.cc The driver to use if you have not implemented remove

o driver2.cc The driver to use if you have implemented remove

o useful_code This contains the code you'll need to create the method to simulate a coin flip and to overload the << operator.


Return to the CS 241 Home Page