A C++ Simple Address book

Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Apr 2004
Posts: 1
Reputation: daledan is an unknown quantity at this point 
Solved Threads: 0
daledan daledan is offline Offline
Newbie Poster

A C++ Simple Address book

 
0
  #1
Apr 26th, 2004
help!!!... i have homework to create a simple address book in Visual C++

it should Add, Delete, Modify, Display A Record using classes/class, file handling & structure...

It would be a big favor doing it..
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 1,620
Reputation: kc0arf is a jewel in the rough kc0arf is a jewel in the rough kc0arf is a jewel in the rough 
Solved Threads: 51
Team Colleague
kc0arf kc0arf is offline Offline
Posting Virtuoso

Re: A C++ Simple Address book

 
1
  #2
Apr 26th, 2004
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
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 1
Reputation: U_musthlp is an unknown quantity at this point 
Solved Threads: 0
U_musthlp U_musthlp is offline Offline
Newbie Poster

Re: A C++ Simple Address book

 
0
  #3
Apr 6th, 2009
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.
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 1,973
Reputation: tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute 
Solved Threads: 214
tux4life's Avatar
tux4life tux4life is offline Offline
Posting Virtuoso

Re: A C++ Simple Address book

 
0
  #4
Apr 8th, 2009
Sounds like a class will be useful to implement it ...
Last edited by tux4life; Apr 8th, 2009 at 9:05 am.
"Never argue with idiots, they just drag you down to their level and then beat you with experience."
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 2,996
Reputation: niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute 
Solved Threads: 308
Moderator
Featured Poster
niek_e's Avatar
niek_e niek_e is offline Offline
Cenosillicaphobiac

Re: A C++ Simple Address book

 
0
  #5
Apr 8th, 2009
Originally Posted by U_musthlp View Post
Write a program to create an addressbook.
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...
Last edited by niek_e; Apr 8th, 2009 at 10:22 am.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 6248 | Replies: 4
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC