COSC 1436 Lab 11
Purpose: This lab focuses on writing a C++ programs that uses classes. You will be working to the same set of requirements as lab 5, except instead of structs, you will be using classes.
Due: Before class, Section 2, April 16, 2013 and for Section 3, April 18, 2013
Requirements C++ Programs: You will be writing a C++ program for this lab that will use nested classes that stores data about a club and the club's members. These are the main requirements from lab 7 and have not changed, except we will use classes instead of structs.
You have been asked to create a program to keep track of campus clubs and club members. This program needs to do the following:
- For each club keep the name of the club, a list of club members, and know who the president, secretary, and treasurer are. For each club member you need to know their name, address, phone, their birth date, the date they joined this club, and a list of interests. All of this information is to be taken in from the keyboard and stored in memory. After all data entry is complete, publish a report showing each club entered and its officers and members, including the member interests.
- Your program needs to use at least two or more nested classes that you designed to store this information. I used three classes, one for each club, one for club members, and a third for dates.
- You will receive bonus points if your program validates the dates and telephone numbers (I will explain what I mean in the lab session). Additional bonus points will be earned if your classes are dynamically created using pointers.
The specific requirements for the classes are as follows:
- Your Name
- Purpose of this program.
- Data design document (your class design)
- Program source code and the make file
- Program output
- How was this program tested
- What problems/successes did you have with this program?
- An estimate of how much time you spent working on this lab
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 lab11***.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 and up to 50 bonus points for bonus items.
Here is a C++ style guide from Dr. Fernandez that should assist you in coding your program. Style guide.