This assignment involves converting your assignment #4 customer database ADT (the customerDB struct) to a class, CustomerDB. You may use your assignment #4, or the sample solution (to be posted after the due date) as your starting point.
You will now have methods, not functions, so the main program has been updated, see "a5main.cpp". Note that the methods no longer have "Customer" or "Database" as part of their names. You again need Version 2 of the Date class. The other two files will now be "CustomerDB.h" and "CustomerDB.cpp", as we give classes names starting with a capital letter, and will require fairly significant changes.
In addition to one method for every function in assignment #4, you need to add two more methods:
Your job is to complete the CustomerDB class so that the overall behaviour of assignment #5 is exactly like that of assignment #4, but with complete information hiding.
If you wish, you can use "CustomerDBskel.h" and "CustomerDBskel.cpp" as your starting point. They will be posted after the assignment #4 due date. No sample exe has been provided as you can use the one from assignment #4 again.
Submit files "CustomerDB.h" and "CustomerDB.cpp".
Updated: Sat Jan 29th, 2011