Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

(Online Address book revisited) Programming Exercise 5 in chapater 11 could hand

ID: 3691154 • Letter: #

Question

(Online Address book revisited) Programming Exercise 5 in chapater 11 could handle a maximum of only 500 entries. Using linked lists, redo the program to handle as many entries as required. Add the following operations to your program:

a. Add or delete a new entry to the address book.

b. Allow the user to same the data in the address book.

I was able to find the solution to complete programming exercise 5 in chapter 11. Now, how do I use a linked list in the AddressBookType.h instead of the array[500]. Also, what format is the file supposed to be in to be processed?

Explanation / Answer

Linked List Usage:

1.If you are writing the program in C then you can include the file "utlist.h".

2.Define your data structure for storing the address.For example:

struct node {

char name[40];

char address[100];

struct node *next;}

File needs to be processed in .txt format.