943,568 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 8614
  • C++ RSS
Apr 26th, 2004
0

A C++ Simple Address book

Expand Post »
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..
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
daledan is offline Offline
1 posts
since Apr 2004
Apr 26th, 2004
1

Re: A C++ Simple Address book

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
Team Colleague
Reputation Points: 121
Solved Threads: 57
Posting Virtuoso
kc0arf is offline Offline
1,629 posts
since Mar 2004
Apr 6th, 2009
0

Re: A C++ Simple Address book

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
U_musthlp is offline Offline
1 posts
since Nov 2008
Apr 8th, 2009
0

Re: A C++ Simple Address book

Sounds like a class will be useful to implement it ...
Last edited by tux4life; Apr 8th, 2009 at 9:05 am.
Reputation Points: 2125
Solved Threads: 243
Postaholic
tux4life is offline Offline
2,105 posts
since Feb 2009
Apr 8th, 2009
0

Re: A C++ Simple Address book

Click to Expand / Collapse  Quote originally posted by U_musthlp ...
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 Nick Evan; Apr 8th, 2009 at 10:22 am.
Moderator
Featured Poster
Reputation Points: 4142
Solved Threads: 394
Industrious Poster
Nick Evan is offline Offline
4,132 posts
since Oct 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: RANGE
Next Thread in C++ Forum Timeline: Recursive function with parameter - array of chars.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC