Data Structures Assignment-1 Solution

$35.00 $24.00

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 Each line of the input line includes name and phone information of a contact.   Allow to perform operations on array of…

You’ll get a: . zip file solution

 

 
Categorys:

Description

5/5 – (2 votes)

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

 

  1. Modify the files and commit changes to complete your solution in your local repository.
  2. Push/sync the changes up to GitHub.

 

  1. To turn in the assignment, send the link for the repository as an email to your instructor (serce@..)

 

 

 

 

Please note that a tutorial for GitHub will be provided on CANVAS and there will be recitation session conducted by our TA, Erik Uri. We are going to announce the date and times for the tutoring session early this week. Please feel free to contact with Erik Uri at erik.uri@bellevuecollege.edu