COSC 1436 Lab 10

Purpose: This lab focuses on working with an abstract data type that will hold information and methods on Roman Numerals.

Due: Before class, Section 2, April 9, 2013 and for Section 11, April 4,2013


1. Build a class that is designed to work with Roman Numerals. There are many sites on the web that describe the Roman Numeral system that you can use for a reference. This class must be capable of doing the following:

You will need to write a main function that will test all class operations, both valid and invalid, to demonstrate that your class works properly.

The class definition, the method bodies, and the driver file may all be in the same file.

2. All output should be to the console. There will be no input/output within the class itself. You may have debug output statements in the class, but these should be commented out in the submitted version.

3. Prepare a lab report/documentation package. All of these items do not need to be in the same file or word document, but the main lab report file must reference each item by name. The lab report must includes the following information:

4. You will be submitting this lab via Blackboard. You will need to zip your files together and then upload your zipped submission to Blackboard. Make sure you include the source code and the rest of the documentation package, but not the executable files. The source code for your programs, called lab10***.cpp. Put your initials where the 3 asterisks appear. This files must be ready to compile using the standard g++ compiler.

Grading Criteria: 100 points available for this lab. Bonus points will be awarded for additional features that you put into your class.
  • The instructor will be using this grading criteria to grade your program/functions. The points will then be scaled to the available points.
  • Here is a C++ style guide from Dr. Fernandez that should assist you in coding your program. Style guide.
  • 100 points if all of the above requirements are met