GIDForums  

Go Back   GIDForums > Computer Programming Forums > C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 23-Jan-2006, 21:12
weeb0 weeb0 is offline
New Member
 
Join Date: Jan 2006
Posts: 17
weeb0 is on a distinguished road
Post

New to OO need advice


Hi all.

I want to learn C++. I have a very good knowledge of C and I want to learn the OO way to code.

Here I would like to get some advice to know the number of class I should create and what the class should contain. Here is my project I'd like to build (it will work on linux):

I want to listen to the network (socket). When I receive a call, I want to put it in a queue. The first person on the queue can send commands to a device connected to a serial port for 1 min.

Where I listen the socket ? In the main ? In a class ?

I wait for your advice.

Thank you.
  #2  
Old 26-Jan-2006, 03:28
kumar1aditya kumar1aditya is offline
New Member
 
Join Date: Dec 2005
Posts: 7
kumar1aditya is on a distinguished road
Question

Re: New to OO need advice


will u plz elaborate ur problem a bit?
then i might be helpful to u
what is ur present progress on the problem and highlight ur main problem that
i am having problen at this particular point.be exact
  #3  
Old 26-Jan-2006, 08:03
WaltP's Avatar
WaltP WaltP is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Midwest US
Posts: 3,373
WaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to all

Re: New to OO need advice


Quote:
Originally Posted by weeb0
Hi all.

I want to learn C++. I have a very good knowledge of C and I want to learn the OO way to code.

Here I would like to get some advice to know the number of class I should create and what the class should contain.
It depends on the design you've decided on. I'd recommend books that teach OOP to learn how it works. Once you understand that, you will be able to design your program easier.


Quote:
Originally Posted by kumar1aditya
will u plz elaborate ur problem a bit?
then i might be helpful to u
what is ur present progress on the problem and highlight ur main problem that
i am having problen at this particular point.be exact
Please use English, not web-speak. Many of our people are not web-geeks, and others are not native English speakers. Web-speak is difficult for those that don't deal with it often enough.
__________________

The 3 Laws of the Procrastination Society:
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
 
 

Recent GIDBlogProblems with the Navy (Enlisted) by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need advice on a disturbing problem JUNK KED Open Discussion Forum 6 31-Mar-2005 13:51
Basic C++ Class Usage (was i need an advice) ap6118 C++ Forum 1 08-Mar-2005 01:03
I need some anti-hacking advice! slayerbeatch Open Discussion Forum 6 16-Feb-2005 16:59
Looking for help and advice pcxgamer Open Discussion Forum 1 21-Nov-2003 03:25
HELP! I need advice jmb Web Design Forum 3 25-Mar-2003 03:21

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 12:36.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.