CO311: Introduction to Modern Programming II

Lab Practical #12: May 1, 2000

Please read the entire problem before jumping into the code!

Using the in-class examples and practice test as a guide, continue to modify your safearray class to handle strings instead of ints or floats.

The driver program should work like the one shown in class and prepared for practice: read a list of strings from a file, then display them 1) in the order they were read and 2) in reverse order. You can find a sample file in the COMMON area of the FTP site at COMMON/PRACTICALS/P12/names.txt

Your class definition, implementation and driver program should be in separate files as appropriate. Submit your copies to the FTP site in a separate folder/directory called P12.

Submissions to the FTP site that are NOT saved in the separate P12 directory will be automatically docked 10 points for failing to follow instructions.