The Address Book is a collection of records and one record should have following fields about a contact
• Name
• Address
• Phone number
• Email address
The Address Book program should have the following features
1. Add-to add a new person record
2. Delete-to delete an existing person record
3. Modify-to change an existing record
4. Search- to search a person record
a. By name
b. By phone number
5. View All contacts
6. Exit –to exit from application
Address Book should also support persistence for person records
Supporting simple persistence by any application requires handling of two scenarios
• On start up of application-data (person records) must be read from file.
• On end/finish up of application -data (person records) must be saved in file.

Right. Now we all know what an address book is. So what has this got to do with C++?

I think the address book needs a place for a fax number...

>I think the address book needs a place for a fax number...
I think life will be better when we stop using (and have to stop being compatible with) that obsolete technology.

What about a cell phone number. And maybe birthday.

Where is the code for the Address book?

>Where is the code for the Address book?
That's not a suspicious question at all. You might as well just say "Give me your code, I want to steal it and turn it in for a grade". :icon_rolleyes:

#include <string>
#include <cmath>

using namespace std;

int main()

{
cout<<"Press x to get the answer"<<endl;
cin>>x;
cout<<”Your professor has successfully received the assignment!”<<endl;
}
return 0;

Another closure for you Narue! These people are working you!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.