Starting from:

$30

Assignment-1 C++ phonebook application program

Data Structures
Assignment-1

You are asked to write a simple C++ phonebook application program. Here are the
requirements for the application.
• read the contact information from a given input file (phonebook.txt) into an array of
Contact objects. Each line of the input line includes name and phone information of
a contact.
• Allow to perform operations on array of data such as search for a person, create a new
contact or delete an existing contact
• Make sure you implemented at least one operator overloading and friend function in
your solution.
A sample run:
***MY PHONEBOOK APPLICATION***
Please choose an operation:
A(Add) | S (Search) | D(Delete) |L(List) |Q(Quit): A
Enter name: MARY SMITH
Enter phone: 5062396
A(Add) | S (Search) | D(Delete) |L(List) |Q(Quit): S
Enter name: MARY SMITH
Phone Number: 5062396
A(Add) | S (Search) | D(Delete) |L(List) |Q(Quit): L
BARBARA BROWN 4059171
ELIZABETH JONES 2736877
LINDA WILLIAMS 3532665
PATRICIA JOHNSON 973437

A(Add) | S (Search) | D(Delete) |L(List) |Q(Quit): D
Enter name: LINDA WILLIAMS
A(Add) | S (Search) | D(Delete) |L(List) |Q(Quit): L
BARBARA BROWN 4059171
ELIZABETH JONES 2736877
PATRICIA JOHNSON 973437

A(Add) | S (Search) | D(Delete) |L(List) |Q(Quit): Q

Submission:
Please follow the following steps for each assignment:
1. Create a separate repository in GitHub
2. Clone the repository to your local computer.
3. Modify the files and commit changes to complete your solution in your local repository.
4. Push/sync the changes up to GitHub.

More products