Finalizat

C++ program for a Management System of a Personal Contact Book

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.

1, deconstructor

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:

Owner-first-name|Owner-last-name

first-name|last-name|phone|email|home|street|apt|city|state|zip

first-name|last-name|phone|email|home|street|apt|city|state|zip

first-name|last-name|phone|email|home|street|apt|city|state|zip

endofbook|

Owner-first-name|Owner-last-name

first-name|last-name|phone|email|home|street|apt|city|state|zip

first-name|last-name|phone|email|home|street|apt|city|state|zip

endofbook|

Owner-first-name|Owner-last-name

first-name|last-name|phone|email|home|street|apt|city|state|zip

first-name|last-name|phone|email|home|street|apt|city|state|zip

first-name|last-name|phone|email|home|street|apt|city|state|zip

endofbook|

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

6, Exit

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.

Aptitudini: Programare C++

Vezi mai multe: references timetable management system asp net book, program management system, database management system constant contact, java program implement grade report management system, c program operating system, c# document management system, phone book management system in c, simple c program for hotel management system, database management system program in c++, c program to implement file system, phone book management system in c++, write a c program to implement memory management using segmentation, contact management system project in c++, contact management system project in c source code, c# program for bank management system, c# inventory management system github, c program to calculate grades of n students from 3 tests using arrays, how do you access the first command line argument in a program called classsignup?, c# inventory management system, c# inventory management system source code

Despre angajator:
( 0 recenzii ) Flushing, United States

ID Proiect: #29893839

Acordat lui:

shabih2468

Greetings I saw your project and as an expert in C/C++ language I am sure I can do your task. I have previously worked on various C++ projects which includes making games, management systems projects and C++ is my prim Mai multe

%selectedBids___i_sum_sub_4%%project_currencyDetails_sign_sub_5% USD în 1 zi
(43 Recenzii)
4.9

4 freelanceri licitează în medie 85$ pentru acest proiect

sajazaeri

Dear employer, Hi I can develop the C++ code for contact book management. I read the description completely and I found it straightforward to be implemented as it is a command-line interface base program. Would you pl Mai multe

%bids___i_sum_sub_35%%project_currencyDetails_sign_sub_36% USD în 2 zile
(10 recenzii)
4.1
websolution47

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.

%bids___i_sum_sub_35%%project_currencyDetails_sign_sub_36% USD în 10 zile
(0 recenzii)
0.0
BrianGuzman14

Hello. I read your task description. I can complete the task in several times. So Let's contact with me

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD în 1 zi
(0 recenzii)
0.0