Writing menu-driven program using a linked list


Q1. Write the menu-driven program which maintains address book using the linked list. Address book should supports the following operations:

Add record

Obtain following information from user:

Name, Telephone, Cell Phone, Email, Home Address, Office Address

Insert record in a linked list.

Delete record

Obtain the string from user. Find and display all matching records, one by one, ask if the user will like to delete record being displayed. Delete the record if user agrees, move to the next matching record otherwise. Ensure to free memory space of record being deleted.

Delete all records

Delete all records from address book. Ensure to free memory space of all the records.

Find record

Obtain a string from the user. Find and display all matching records, one by one. Wait for the user to press a key to continue. A matching record is one which has any field containing string in question as a substring.

Display all records

Display all records in address book one by one. Before displaying next record, wait for the user to press the key to continue.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Writing menu-driven program using a linked list
Reference No:- TGS02061

Expected delivery within 24 Hours