2009-08-20 06:29:11 UTC
------------------------------------------------------------------------------------------
The following elements of the C programming language will be required in the implementation of this assignment:
• Built-in (primitive) data types
• Program control flows (e.g.: Selection, Repetition)
• Function
• File Input/Output
• Array (for strings)
Description:
The goal for this assignment is to create an Address book program with - at a minimum - the following features:
An address must contain at least the first name and last name of a person.
You must be able to insert an address into the address book.
You must be able to search for an address by last name in the address book, and you must be able to find at least one occurrence of that address in case there are one or more in the address book.
You must be able to delete the address that a user has searched for previously, if one was found.
You must be able to display the entire address book
Your address book must be able to use all available memory to store its addresses.
Your address book should also support the following features
An address can contain more fields, perhaps for street, city, zip code, phone number, email address, etc.
You should be able to find all occurances of an address, if there are several (for example, find all addresses of people with surname "Lee").
You should be able to save your address book data.
You should be able to retrieve the data you have previously saved.
You should be able to sort the addresses using a sorting algorithm of your choice.
Note: You cannot use an array to store addresses.