Implement a program that will manage a several contact books of different people, using the classes that you developed in homework before. The program should be command-line interfaced.
I、Modify your contact book class in the following way:
1，Modify your ContactBook class so that it will now store a dynamic array of pointers to Contact objects.
2，A ContactBook is identified by an owner (last name and first name of the owner).
3，The array must have the ability to grow if it reaches the capacity ( for that provide a private function grow ( ) ).
4，Modify your functions to add new contacts to a list, delete old contacts, update existing contacts, search for a contact, display the entire contact list, >>, and << operators to reflect the changes.
5，Include the “big-three” that are needed when there is a dynamic allocation within a class.
2, copy constructor
3 ,assignment operator
6，Create a functions that will give you size of the list, get particular contact at a particular index location. In addition you can provide a function to get the capacity of the list.
II、Modify your contact book class in the following way:
1) Your add contact function will now add a contact in a sorted order
2) Your delete contact function will preserve the sorted order of the contact
3) Provide a private sort function which will sort the contact list internally
4) Provide a merge function that will merge the second contact list into the first
Your main program will store up to 5 contact books read from a file. You will never have more than 5 contact books in your project. The main program should start by reading the file [login to view URL] to create contact book objects dynamically and store them as pointers in an array of capacity 5. The format of the file will be:
III、The program will have a menu with the following options:
1, create a new contact book (note: you will only be able to create up to five contact books. If you attempt to create more, the program should report an error)
2, remove a contact book (identified by owner’s name)
3, display all contact books (in your system)
4, merge two contact books (both books are identified by owner’s name)
5, select a contact book (identified by owner’s name) to perform following operations:
a) add new contact
b) delete old contact
c) display contact info
d) update contact info
e) display entire contact book
Note: When you start the program the contact books must be read in from a file called contactbooks.txt. When you exit a program the contact books must be stored back to a file called contactbooks.txt. Internally in your program contact books are stored in an array of capacity 5.
4 freelanceria on tarjonnut keskimäärin $85 tähän työhön
Hello Sir! I have read your project requirements. I am an expert in c++ coding. I can create the program that is required. I hope you will give me a chance.