subject

(Online Address Book Revisited) Programming Exercise 5 in Chapter 11 could handle a maximum of only 500 entries. Using linked lists, redo the program to handle as many entries as required. Add the following operations to your program:
A. Add or Delete a new entry to the address book.
B. Allow the user to save the data in the address book.
Exercise 5 in Chapter 11
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. Your program should be able to handle a maximum of 500 entries.
a. Define a class, addressType, than 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 data members.
b. Define a class extPersonType using the class personType, the class dataType, and the class addressType. Add a data member to this class to classify the person as a family member, friend, or business associate. Also, add and store the appropriate information. Use constructors to automatically intialize the data members.
c. Define the class addressBookType using the peviously defined classes. An object of the type addressBookType should be able to process a maximum of 500 entries.
The program should perform the following operations:
(i) Load the data into the address book from a disk.
(ii) Sort the address book by last name.
(iii) Search for a person by 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 two last names.
(vii) Depending on the user's request, print the names of all family members friends, or business associates.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:50
Is one of the most injurious events that can happen to a person in a crash.
Answers: 1
question
Computers and Technology, 22.06.2019 03:10
Write a program that begins by reading in a series of positive integers on a single line of input and then computes and prints the product of those integers. integers are accepted and multiplied until the user enters an integer less than 1. this final number is not part of the product. then, the program prints the product. if the first entered number is negative or 0, the program must print “bad input.” and terminate immediately. next, the program determines and prints the prime factorization of the product, listing the factors in increasing order. if a prime number is not a factor of the product, then it must not appear in the factorization. sample runs are given below. note that if the power of a prime is 1, then that 1 must appear in t
Answers: 3
question
Computers and Technology, 22.06.2019 11:00
Which action is good business etiquette? a. switching your cell phone off before you enter a meeting b. keeping your cell phone on low volume before you enter a meeting c. setting a pleasant ring tone on your cell phone before you enter a meeting d. setting a standard ringtone on your cell phone before you enter a meeting
Answers: 1
question
Computers and Technology, 22.06.2019 14:30
Hi plz 11 ! when planning a table, what step comes first: "define the column headers" or "calculate the number of columns/rows"? a. calculate the number of columns/rows b. define the column headers
Answers: 1
You know the right answer?
(Online Address Book Revisited) Programming Exercise 5 in Chapter 11 could handle a maximum of only...
Questions
question
Mathematics, 02.08.2021 14:00
question
Physics, 02.08.2021 14:00
question
Arts, 02.08.2021 14:00
question
Physics, 02.08.2021 14:00
question
Chemistry, 02.08.2021 14:00
question
Engineering, 02.08.2021 14:00
question
World Languages, 02.08.2021 14:00
question
Mathematics, 02.08.2021 14:00
Questions on the website: 13722359