312-174

Lab 0

Spring 2000

Due: beginning of next day of class (Weds or Fri, 19 or 21 January).

Preliminary Steps: copy the Lab0 folder from the barrj/CS174/Software/Lab 0 folder to the desktop.

  1. Open and run the project named testFraction. Note that the declaration of the class is in a .h file and the definition of the member functions is in a .cpp file. You only have to add the .cpp file to your project since there is a #include statement to add the .h file in the .cpp file.

  2. Create a new class called fractArray that stores a list of up to 20 fractions. This class should be declared in a file called fractArray.h and the function definitions must be in a file called fractArray.cpp.

Additional requirements:

  1. Your code must meet the style requirements found in the course style guide.

  2. All projects must use console mode in C++ Builder.

Hints:

Return to Student Pages

Return to John Barr's Home Page

Last Modified: 12 January 2000

THIS PAGE MAINTAINED BY:
John Barr, Ithaca College