Important alert: (current site time 7/15/2013 6:36:03 PM EDT)
 

winzip icon

OOP Address Book - for beginners - updated

Email
Submitted on: 12/12/2000 6:09:50 PM
By: *LuckY* 
Level: Beginner
User Rating: By 8 Users
Compatibility: C++ (general)
Views: 19747
(About the author)
 
     Changed the code on Dec 17th so that when searching for a contact, you can enter only part of the contact info to search for it instead of the whole string. This is a simple example with some explanation of a class that creates an address book. You can add contacts to the address book with their name, phone number, and email address (of course you can add whatever else). You can search thru the address book by any of the elements to display a specific contact or display the entire address book.
 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 23 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Beginner category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

12/13/2000 7:55:40 AMAmin Patel

Excellent work, I love it!
(If this comment was disrespectful, please report it.)

 
1/27/2001 12:22:50 PMjosh

I am a begginer.. and love the idea of the address book program. I tried compiling it with Visual Studio 6 and had 30 errors??
Do you have a VS compatable copy to try...or am I doing something wrong?
thanks
josh
(If this comment was disrespectful, please report it.)

 
1/27/2001 7:11:42 PM*LuckY*

If you could list some of the errors, it would help. But, at a guess, try adding in a #include using namespace std; because I am using VC++v5 and simply #include'ing works for me, but someone else has told me that they had to also include and/or 'using namespace std;' to make it work...

But still, post the error messages or email them to me:
lucky760@yahoo.com
and I'll see if I can help out.

hth
(If this comment was disrespectful, please report it.)

 
1/28/2001 8:29:18 PMIlijko

Josh-
You're going to hate me for this, but! I found your answer! Here's all that you have to do...(I'm also using MS V C++ 6.0, so...) Change the line that says:

#include

to:

#include

and that's it! All errors and warnings gone!
(If this comment was disrespectful, please report it.)

 
4/17/2001 7:29:05 PMAndrew

I'm a bit of a beginner in C++ for me this program is excelent. I tried to compile it with borland Turbo C++ v4.5, and I got 6 errors one of them is unable to open the CSTRING header. Does this code compatible to other compiler such as Borland?
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.