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
  #11  
Old 24-Feb-2006, 09:45
TreyAU21's Avatar
TreyAU21 TreyAU21 is offline
Member
 
Join Date: Feb 2006
Location: Atlanta, GA
Posts: 116
TreyAU21 has a spectacular aura aboutTreyAU21 has a spectacular aura about

Re: G++ question...


Yeah... I got it for like $5 new on Amazon. I read all of the bad reviews, but I figured I'd give it a shot anyways. It is pretty bad. The first 100 pages were crap. Now that I have a handle on the proper g++ command line arguments, I think I can get his code working. If not, I'll get the concepts at least.

Anyways, I resolved all of those annoying warnings that pop up when it builds. The all come from his use of 'NULL' in the SocketObject.cpp. Just replace all occurences with '\0' and the warnings will go away. As for running the program... start up the server with:

(progname) server portNum

Then run the client in another console:

(progname) client serverIP portNum

He has basically no error checking in his code as far as command line arguments are concerned, so if you don't put in the right command line arguments, it just won't work.
__________________
If practice makes perfect and nobody's perfect... why practice?

Homepage: http://www.treywhite.com
Blog: http://www.treywhite.com/blog.php
Web Design Company: http://www.ewebproductions.com
 
 

Recent GIDBlogOnce again, no time for hobbies 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
Borland compile question monnick C++ Forum 4 12-Feb-2006 18:40
non-member function question crq C++ Forum 1 03-Feb-2005 22:59
Simple question on arrays--please help! brookeville C++ Forum 16 18-Nov-2004 00:23
Repetition structure problem and question brookeville C++ Forum 17 29-Oct-2004 18:48
question of practice magiccreative C++ Forum 1 06-Feb-2004 08:17

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

All times are GMT -6. The time now is 22:08.


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