This assignment involves converting your assignment #2 customer database to an ADT (Abstract Data Type) as per the discussions in Chapter 4. It also requires the use of a Dev-C++ project.
Note that this assignment involves structs (as per Chapter 4), not classes (as per Chapter 5). Do not create a customer database class. That will likely be a future assignment!
You are to take your solution to assignment #2 (or the sample solution that will be posted after the due date/time), and rearrange the code so that you have three files:
Hints/Approach:
Your job is to complete the three files (using the above hints) so that the overall behaviour of assignment #3 is exactly like that of assignment #2 (but with the customer database now written using partial "information hiding").
As the functionality of assignment #3 is exactly the same as that of assignment #2, you can refer to assignment #2's sample executable for any testing.
Submit three files: "a3main.cpp", "customerDB.h" and "customerDB.cpp". Note: If you put all the files in the same directory, when you select the first one, the submit program will find all the files, and clicking submit will submit them all. Do not attempt to submit the files separately, or you will likely get 0!!!
Updated: Sat Jan 15th, 2011