CS 1711 Lab 9 - December 1 and 3, 1998
Using structures

In this lab you will fill in the blanks to complete a fully operational address book that may be of some use to you. This program may look a little long, but a `large' program is required to give students a feeling for what can be accomplished with the use of structures. Most of the programming has been completed, you only need to fill in the missing lines. You should browse through the program to see what the various functions do. You may be asked to describe the operation of some of the functions before you leave. If you have questions about how a function works, ask.
  1. Load the file named address.cpp from the usual location.
  2. Add the necessary fields for the structure called Address. The function get_address() may help you to determine the field names.
  3. Add the necessary fields for the structure called PhoneNumber.
  4. Complete the missing lines in the display_phone_number function.
  5. Complete the missing lines in the display_address function.
It is suggested that you do not modify any other function in this program except perhaps for testing purposes.