Question: ? Create a C++ Program : A. Classes: personType addressType dateType arrayListType extPersonType addressBookType B. Derived classes extPersonType should inherit from personType class extPersonType :
?Create a C++ Program :
A. Classes:
personType
addressType
dateType
arrayListType
extPersonType
addressBookType
B. Derived classes
extPersonType should inherit from personType
class extPersonType : public personType
addressBookType should inherit from arrayListType
class addressBookType : public arrayListType
C. Note
extPersonType should use the functionality of the date and addressType classes
#include
#include "addressType.h"
#include "date.h"
#include "personType.h"
****************************************************************************************************
Choose among the following options:
1: To see if a person is in the address book
2: Print the information of a person
3: Print the names of person having birthday in a particular month
4: Print the names of persons between two last names
5: Print the names of persons having a particular status
6: Print the address book
7: Save data
9: Terminate the program


9. 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 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 a. Also, use constructors to automatically initialize the data members Define a class extPersonType using the class personType (as defined in Example 1-12, Chapter 1), the class dateType (as designed in Pro- gramming Exercise 2 of Chapter 2), 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 a data member to store the phone number Add (or override) the functions to print and store the appropriate informa- b. tion. Use constructors to automatically initialize the data members Derive the class addressBookType from the class arrayListType, as defined in this chapter, so that an object of type addressBookType can store c. 9. 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 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 a. Also, use constructors to automatically initialize the data members Define a class extPersonType using the class personType (as defined in Example 1-12, Chapter 1), the class dateType (as designed in Pro- gramming Exercise 2 of Chapter 2), 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 a data member to store the phone number Add (or override) the functions to print and store the appropriate informa- b. tion. Use constructors to automatically initialize the data members Derive the class addressBookType from the class arrayListType, as defined in this chapter, so that an object of type addressBookType can store c
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
