CS 123 Homework #5

Supplement

Part I Due: Wednesday, Dec 3
Part II Due: Wednesday, Dec 10

Current version is 1.8, last modified 12/6 12:49 AM.

Change History:

These files are located in /home/cssun0/users/weltyc/public_html/cs123/hmwk5/. You may copy them directly from there, or just include the .h files directly from that location, and link the .o files. See the example below.

Please keep checking this page for updates. If you find any bugs, please send me email.

You should not modify any of these files. For full credit, you should use the latest versions of files I provide.

If you would like to change a class, in order to get full credit, I must approve the change. Please send me mail proposing the change and I will let you know if it is OK, and I will make the change available to everyone.

You may find it useful to be incremental. Write one part of the project at a time, compile it, get it working, and then move on to the next.

You may find it useful to add a new command to the interface for adding students to the class. In general, the number of choices and appearance of the command interface is up to to. What is shown in the project description is minimal.

Linking and including my files directly has the advantage of ensuring you that you're always using the latest version of the code, however it is a little inconvenient due to the long pathnames.

Example of including my files directly:

#include "/home/cssun0/users/weltyc/public_html/cs123/hmwk5/students.h"
#include "/home/cssun0/users/weltyc/public_html/cs123/hmwk5/grades.h"
#include "/home/cssun0/users/weltyc/public_html/cs123/hmwk5/gradedThings.h"

Example of linking my files directly:

g++ -o grader-lite main.C ~weltyc/public_html/cs123/hmwk5/students.o ~weltyc/public_html/cs123/hmwk5/grades.o ~weltyc/public_html/cs123/hmwk5/gradedThings.o ~weltyc/public_html/cs123/hmwk5/fileio.o