Data Structures Assignment-1 Solution

$30.00

Category:

Description

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. 1. Create a separate repository in GitHub
  2. 2. Clone the repository to your local compute
  3. 3. Modify the files and commit changes to complete your solution in your local repository.
  4. 4. Push/sync the changes up to GitHub.
  5. 5. To turn in the assignment, send the link for the repository as an email to your instructor (fatma.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

 

 

 

 

 

 

 

 


error: Content is protected !!