Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

In C++, using proper header files. (such as extPersonType.h, dateType.h) ///////

ID: 3914224 • Letter: I

Question

In C++, using proper header files. (such as extPersonType.h, dateType.h)

//////////////////////////////////////////////////////////////////////////

This was the previous assignment.

Using classes and arrays, 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 as many entries as required.

1. 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.

2. Define a class, personType , that can store the first name and the last name of a person. Use   e appropriate functions to print and store the first and the last name. Also, use constructors to automatically initialize the member variables.

3. Define a class, dataType, that can store the day, the month, and the year of a date. Use the appropriate functions to print and store the day, the month, and the year. Also, use constructors to automatically initialize the member variables.

4. Define a class extPersonType . The class is a derived class from the above classes. The class adds a member variable to classify the person as a family member, friend, or business associate. Also, the class adds a member variable to store the phone number. Moreover, the class adds (or override ) fuctions to print and store the appropriate information. Use constructors to automatically initialize the member variables.

5. Define the class addressBookType using the previously defined classes. An object of the type addressBookType should be able to process as many entries as required.

6. Write a C++ program to test your design. The program should perform the following operations:

Add a new entry to the address book.

Delete an entry from the address book.

Print all the information of the address book

/////////////////

This is the new assignment

Using classes and linked lists, 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 as many entries as required.

1. By the Assignment 2, you have created the user defined data type extPersonType

2. Define the class addressBookType to built a linked list. The value of each node has the type of extPersonType . An object of the type addressBookType

should be able to process as many entries each of them as required.

3. Write a C++ program to test your design. The program should perform the following operations:

Add a new entry to a address book.

Delete an entry from a address book.

Print the value of each node of a address book.

Explanation / Answer

YOU NEED TO CREATE SEPRATE CPP FILES FOR THE FOLLOWING QUESTION

-------------------------------------Addresstype.cpp-------------------------------------------------

------------------------------------------------------------------------------------------------------------------------------------

----------------------------------------------------------datatype.cpp---------------------------------------------------------

---------------------------------------------------------------------------------------------------------------------------------------

-----------------------------------------------------------main.cpp---------------------------------------------------------------

-----------------------------------------------------------------------------------------------------------------------------------------

----------------------------------------------------extantiontype.cpp-----------------------------------------------------------

----------------------------------------------------------------------------------------------------------------------------------

IF YOU GET AN ERROR DO THIS IN extentiontype.cpp

where the constructor is defined

--------------------------------------------------------------------------------------------------------------------------------------------

----------------------------------------------------------HEADERFILES-------------------------------------------------------------]

-----------------------------------------DATATYPE.h-----------------------------------------------

-----------------------------------------------------------extpersontype.h-------------------------------------------------------

------------------------===========================================================

--------------------------------------------------------addresstype.h-------------------------------------------------------