Homework 3C, An Array of Classes.
Short Description:
Finish program 3.
This assignment is worth 45 points.
Goals
When you finish this homework, you should have:
- Implemented a number of routines which solve problems with arrays.
- Implemented code spread across several source code files.
- Further developed your skills with arrays.
Formal Description
Using the librarary of functions you created for the last homework, implement the final project.
Running the commands in CMDS should produce the output in Output. To do this,
- Download the two files.
- main < CMDS | diff - Output
UPDATE
There was an extra space after one of the commands in CMDS. Please delete this or download a new copy. There should be no spaces at the end of lines. The current copy has been fixed.
The files that I used are
- file1
- file2
- There was no file3, this prodces an error
Note
There was a parameter missing from DeleteFromArray. It needed the class name to produce a proper error. Please update your header files and utiltity files to include this error:
void DeleteFromArray(string source[], size_t & size, string name, string className);
Required Files
A single tar file containing the source code and makefile for this program.
Submission
Email your tar file as an attachment to dbennett@edinboro.edu. Make sure that the title indicates that this is homework3C and that your name and section are included in the body of the message.