|
course.wilkes.edu/CS125Labs |
||||||||||||||||||
Hands On C++: Project 3a
Objectives1. Gain further experience defining functions. 2. Gain further experience using libraries. 3. Gain experience working in groups.
IntroductionThis week's project is to expand the number of functions provided by the metric library, as a four-person group project. Each group member is responsible for three different conversion functions.
ProjectsEach of the following projects is to be the responsibility of a different member of your group. That person is responsible for adding the necessary function prototypes and definitions to their own copy of library metric to provide the indicated functionality.
Each group member is to write the functions for which they are responsible on their own, without consulting anyone else. The group should then meet together to create a master header file containing all of the function prototypes, a master implementation file containing all of the function definitions, and a master documentation file that documents each of the library's functions. (Hint: Elect a group coordinator, and have each group member send their completed library and driver files to the coordinator via e-mail. The group can then assist the coordinator in the 'cut-and-paste' work needed to assemble the individual work into the master files. The coordinator can e-mail copies of the master files back to each of the participating group members.) The master driver program should perform the following steps:
0. Print a greeting.
1. Prompt for, and input a real value, storing it in inVal;
2. Output the result of calling function A with inVal as an argument;
3. Output the result of calling function B with inVal as an argument;
...
N. Output the result of calling function L with inVal as an argument.
Your driver program should thus test each function in the library.
The documentation file for metric should indicate which group member was responsible for which functions. Only that group member will be penalized for any errors in that set of functions, or its documentation. Turn In:
Don't forget to clean up when you are all finished...
|
Home Membership
|
|||||||||||||||||
|
Last update: Tuesday, February 13, 2001 at 10:32:49 AM. |
||||||||||||||||||