CO311: Introduction to Modern Programming II

Practice Test to prepare for Practical #12 on May 1

Please read the entire problem before jumping into the code!

Using the in-class examples as a guide, modify your safearray class to hold an array of up to 100 floating point numbers.

The driver program should work like the one shown in class: read a list of floating point numbers 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/floats.txt

Your class definition, implementation and driver program should be in separate files as appropriate. If you want them reviewed, submit your copies to the FTP site in a separate folder called P12PREP and send email to jim3@millard.org.