PROGRAMMING ASSIGNMENT 3 - APPOINTMENT BOOK
You will need a good understanding of the material from chapters 8 and 9
Due dates:
- Program Specifications & Header files - April 1, 1997 (10 pts)
- Object .CPP files - April 8, 1997 (10 pts)
- Entire Program (disk and printout) - April 15, 1997 (20 pts)
My Personal Appointment Book
You are to design and write a prototype C++ program for a personal appointment book. An appointment has a description (for example, "see the dentist") and a date and time. Appointments can be Onetime, Daily, Weekly, and Monthly. You might want a virtual function OccursOn(Date dat) that checks whether the appointment occurs on date dat. For example, for a monthly appointment, you must check whether the day of the month matches.
Your program should:
- fill a vector of Appointment* with a mixture of appointments.
- display all appointments for a date entered by the user.
- allow the user to add new appointments (the user must specify the type of appointment, description, date and time).
- allow the user to save the appoinment data to a file.
- allow the user to reload the data from a file.
Saving requires a virtual function Save that saves the type, description, date and time.
Loading requires that you determine the type of apointment, before creating an object of that type and then calling a virtual function Load
PROGRAM SMART - REUSE YOUR CODE WHEREVER POSSIBLE!!!!!
Your final program will be graded according to the following criteria:
- 20% - executes without errors
- 20% - output is correct
- 15% - output is designed appropriately
- 20% - design of the program logic
- 15% - follow programming standards (review the programming style sheet)
- 10% - documentation (good comments)