Phone book using C++

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Jun 2008
Posts: 1
Reputation: prab is an unknown quantity at this point 
Solved Threads: 0
prab prab is offline Offline
Newbie Poster

Phone book using C++

 
0
  #1
Jul 2nd, 2008
Hi all,

I am new to OOP. I am using classes to create a phone book in C++. I don't know how to program, when the user enters the information and click save to generate a file. Also, how do I make GUI using C++.
Can any one help me out?

Thanks
Prab
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 41
Reputation: RenjithVR is an unknown quantity at this point 
Solved Threads: 7
RenjithVR RenjithVR is offline Offline
Light Poster

Re: Phone book using C++

 
0
  #2
Jul 2nd, 2008
http://linux.softpedia.com/get/Progr...s/Qt-179.shtml

Yoe can easily follow this by referring Qt assistant
Last edited by RenjithVR; Jul 2nd, 2008 at 2:42 am.
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 236
Reputation: TheBeast32 is on a distinguished road 
Solved Threads: 6
TheBeast32's Avatar
TheBeast32 TheBeast32 is offline Offline
Posting Whiz in Training

Re: Phone book using C++

 
0
  #3
Jul 2nd, 2008
Check out www.cplusplus.com. It's filled with information about file IO, strings, user input, and lots more. You might not want to make a GUI if you are very new to C++ and OOP.
"Always program as if the person who will be maintaining your program is a violent psychopath that knows where you live."
--Martin Golding
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 52
Reputation: camthalion95 has a little shameless behaviour in the past 
Solved Threads: 0
camthalion95's Avatar
camthalion95 camthalion95 is offline Offline
Junior Poster in Training

Re: Phone book using C++

 
-2
  #4
Jul 3rd, 2008
try a hello world program.
gagemarshall.bravehost.com
gagemarshall.shopmania.biz
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 56
Reputation: ninjaneer is an unknown quantity at this point 
Solved Threads: 6
ninjaneer ninjaneer is offline Offline
Junior Poster in Training

Re: Phone book using C++

 
0
  #5
Jul 3rd, 2008
once you get started with your phone book, I'd suggest these two classes

  1. class personalNumber{
  2. public:
  3. personalNumber(string, number);
  4. string getName(void);
  5. int getPhoneNumber(void);
  6.  
  7. //...
  8. private:
  9.  
  10. string name;
  11. int number;
  12.  
  13. //...
  14. }

and
  1. class businessNumber{
  2. //...
  3. }

object orientation means separating things into discrete, identifiable units... it's kind of like building robots

... you start with a bolt and plates to build an arm, you take two arms and some plates and build a torso...
Reply With Quote Quick reply to this message  
Reply

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



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC