The program should store entries consisting of:
The address book program should allow the user to do four things with the entries:
1) Add an entry to the contact list.
2) Retrieve an entry from the contact list by name.
3) Print all entries in the contact list.
4) Erase an entry in the contact list by name.
The address book should not place a fixed limit on the number of entries it can hold. I need to use dynamic arrays to accomplish this. Whenever the array runs out of space a new one should be allocated that is twice as large and then the data coppied from the old array into the new one and delete the old array.
I want it to use pointers to keep track of the entries, which will themselves be arrays of pointers to character arrays. The key to this is not to use classes.
I just need the code to compile in g++
Just needs to compile in g++