Question: Problem ( Online Address Book ) : Using classes, design an online address book to keep track of the names, addresses, phone numbers, and dates

Problem (Online Address Book):
Using classes, design an online address book to keep track of the names, addresses, phone numbers, and dates of birth of family members, close friends, and certain business associates.
a. Define a class addressType that can store a street address, city, state, and ZIP code. Use the appropriate functions to print and store the address. Also, use constructors to automatically initialize the member variables.
b. Define a class extPersonType using the class personType with following members and methods: firstname, lastname, and accessors and mutators, print to display, and constructors.
c. Define a class dateType for month, day and year as members with its accessors, mutators, and constructors
d. Design a class addressType. Add a member variable to this class to classify the person as a family member, friend, or business associate. Also, add a member variable to store the phone number. Add (or override) the functions to print and store the appropriate information. Use constructors to automatically initialize the member variables.
e. Define the class addressBookType using the previously defined classes. An object of the type addressBookType should be able to process any number of entries.
The program should perform the following operations:
i. Load the data into the address book from the data file.
ii. Sorts the address book by the last name.
iii. Search for a person by their last name.
iv. Print the address, phone number, and date of birth (if it exists) of a given person.
v.Print the names of the people whose birthdays are in a given month.
vi. Print the names of all the people between the two last names.
vii. Depending on the users request, print the names of all family members, friends, or business associates.
Create a link list for the above addressbookType and add the following operations to your program:
1. Display the addressbook list.
2. Add or delete a new entry to the addressbook and display the list after adding to or deleting a record from the addressbook list.
3. Allow the user to save the data in the address book.
In C++

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!