|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
|
|
#1
|
|||
|
|||
|
need help on c++
hello people,
i need to do some c++ programming on a linux machine.. is there any difference from doing it on a windows machine? where can I find online documentation of the libraries used, i need to read up on how to use the socket.h thanks in advance |
|
#2
|
||||
|
||||
|
on Windows you've to use WinSock and a socket is NOT a file as it is on Unix... you've to have extra code to cater for Winsock (something like WSAstartup() i think...)
as for online docs, i've been looking too cos i'm also learning socket programming... do a search at google for 'beej's guide to network programming'... that's a good one but in C (not C++)... if you find any good ones let me know too ok? <edit> i found the link to the guide i mentioned above -> www.ecst.csuchico.edu/~beej/guide/net/ </edit> |
|
#3
|
|||
|
|||
|
i don't know if that helps but i'd take a look at gcc online documentation
http://gcc.gnu.org/onlinedocs/ sure u'll find the header files in there. if u prefer using an ide try qt. there's a free version at www.trolltech.com. cheers, jens |
|
#4
|
|||
|
|||
|
Different compiler.
I would use g++ for that, gcc is for C code...
|
|
#5
|
|||
|
|||
|
g++ is part of gcc
|
|
#6
|
||||
|
||||
|
Re: Different compiler.
Quote:
All gcc is, is a front end that calls the proper compiler for the job, whether that be cc, g++, java, etc. |
|
#7
|
|||
|
|||
|
Clarification
GCC is now GNU Compiler Collection...or something of that sort. It used to be GNU C Compiler, but now it comes with a whole list of compilers.
Anywho, if you use cygwin and the gcc for windows then you will have portability and not even have to worry about WinSock and the like. With cygwin you can use socket.h. Wonderful heh? |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > C Programming > need help on c++ |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|