instruction note (lab8)
Lab 9 is canceled (lab 8 is extended by a week)
contactList.h. Use double quotation marks
#pragma oncetells the compiler to include the source code only once
- All members are private, all methods are public
- constructor is a method
- you may define global constant variables for these: MAX_CONTACTS and NOT_FOUND
- interface goes to a header file (.h), implementation goes to a source file (.cpp)
To Demo, Type the following commands and show the results at once.
2 33 3 Sam 4 6 5 Friends of Mine 1 Adam 1111 1 Betty 2222 1 Carol 3333 1 Debbie 4444 1 Eddie 5555 1 Trouble 6666 4 6 2 5 2 3 3 Freddy 3 Betty
- Compare the results against the one in the instruction note.
- Don't forget a comment box for each header file and the main function
- When you have a LINK ERROR issue, ask me.