-
ใครเก่ง C ช่วยหน่อย
Code:
#include stdio.h
#include ctype.h
#include sys/socket.h
#include netinet/in.h
#include netinet/in_systm.h
#include netinet/ip.h
#include netinet/tcp.h
#include sysexits.h
#include stdlib.h
#include unistd.h
#include sys/types.h
พวกนี้ผมจะหามาได้จาไหนอ่าคับใน turbo C มันมีไม่ครบอ่า
-
Re: ใครเก่ง C ช่วยหน่อย
Common Windows includes
#include < winsock.h > - used to access the network
#include < windows.h > - defines windows structures and messages (eg: so we can use a word instead of some hex number for a value)
Common Linux includes
#include < netinet/in.h > - sockets/networking
#include < sys/socket.h > - defines socket structures
compile linux code under windows use cygwin www.cygwin.com (you will need to select the c and gcc packages)
รวม .h
http://handhelds.org/download/intimate/rel...se/usr/include/
http://www.codelinx.net/
:D
-
ผมช่วยเติมคับ
[code]Dos.h