| | |
A C++ Simple Address book
Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Mar 2004
Posts: 1,620
Reputation:
Solved Threads: 51
Hello,
As it is *your* homework, we should not be doing it for you. But, we can give you some ideas.
1) Each one of your steps (add, delete) should be a unique different function
2) You will need menus / options to open and save the file
3) Need to decide if you will use a binary file, or a text one
4) Need to decide how you will handle empty / bad data inside of the structure
5) I think you are going to need to know how many bytes each of your structures will require.
6) Be sure to comment in your code what each part is doing.
7) For extra credit, I would make the display record option to be nice and eye-candy. Use bolds, colored boxes, that sort of thing. Make it nice.
Enjoy your coding. Sometimes, I wish I was back in school.
Christian
As it is *your* homework, we should not be doing it for you. But, we can give you some ideas.
1) Each one of your steps (add, delete) should be a unique different function
2) You will need menus / options to open and save the file
3) Need to decide if you will use a binary file, or a text one
4) Need to decide how you will handle empty / bad data inside of the structure
5) I think you are going to need to know how many bytes each of your structures will require.
6) Be sure to comment in your code what each part is doing.
7) For extra credit, I would make the display record option to be nice and eye-candy. Use bolds, colored boxes, that sort of thing. Make it nice.
Enjoy your coding. Sometimes, I wish I was back in school.

Christian
•
•
Join Date: Nov 2008
Posts: 1
Reputation:
Solved Threads: 0
Write a program to create an addressbook. The program should provide the following operations.
1- Load the data into the addressbook from a disk.
2- Sort the address book by last name (must use a sorting alorithm)
3- Search for a person by last name
4- Print the address, phone number, and date of birth of a given person.
5- Print the names of the people whose birthdays are in a a given months.
6- Print the names of all the people between two last names.
The program will use a class call addressbook type with appropriate members. The class data should be stored in a linked list. The program should be meun driven to make testing easier.
1- Load the data into the addressbook from a disk.
2- Sort the address book by last name (must use a sorting alorithm)
3- Search for a person by last name
4- Print the address, phone number, and date of birth of a given person.
5- Print the names of the people whose birthdays are in a a given months.
6- Print the names of all the people between two last names.
The program will use a class call addressbook type with appropriate members. The class data should be stored in a linked list. The program should be meun driven to make testing easier.
So you've bumped a five year old thread to ask us to do your homework for you? That's not how the cookie crumbles. Here's how you can get your answer:
- read this first
- Start a new thread with your question
- Show what you've done so far. Show code or tell us how you think the problem should be solved.
[edit]
and choosing a username like U_musthlp doesn't help you case either. I don't have to do a damn thing if I don't feel like it...
- read this first
- Start a new thread with your question
- Show what you've done so far. Show code or tell us how you think the problem should be solved.
[edit]
and choosing a username like U_musthlp doesn't help you case either. I don't have to do a damn thing if I don't feel like it...
Last edited by niek_e; Apr 8th, 2009 at 10:22 am.
![]() |
Similar Threads
- Need help for making an address book using Java (Java)
- Address Book C++ - Help! (C++)
- Address book (C++)
- please help!! have some problems with my address book (C)
- Address book (C++)
- Address book problems....Any advice??? (C++)
- Where does Address Book & email hide? (Web Browsers)
- Saving Address book and Messages in Outlook Express (Windows NT / 2000 / XP)
Other Threads in the C++ Forum
- Previous Thread: RANGE
- Next Thread: Recursive function with parameter - array of chars.
Views: 6248 | Replies: 4
| Thread Tools | Search this Thread |
Tag cloud for C++
6 add api array arrays beginner binary bitmap c++ c/c++ calculator char class classes code compile compiler console conversion convert count data delete desktop directshow dll encryption error file forms fstream function functions game getline givemetehcodez google graph homeworkhelper iamthwee ifstream input int integer java lazy lib linkedlist linux loop looping loops map math matrix memory microsoft newbie news node number output parameter pointer problem program programming project proxy python random read recursion recursive reference return sort string strings struct studio system template templates test text tree unix url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






