Results 1 to 3 of 3

Thread: ใครเก่ง C ช่วยหน่อย

  1. #1
    Junior Member
    Join Date
    Apr 2005
    Location
    United States
    Posts
    4


    ใครเก่ง 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 มันมีไม่ครบอ่า

  2. #2
    Senior Member
    Join Date
    Jul 2004
    Location
    Thailand
    Posts
    211


    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/


  3. #3
    Member
    Join Date
    Apr 2007
    Location
    Dark Zone
    Posts
    37


    ผมช่วยเติมคับ

    [code]Dos.h

Similar Threads

  1. Replies: 5
    Last Post: 27-04-2009, 02:23 PM
  2. Replies: 1
    Last Post: 09-08-2008, 02:54 AM
  3. Replies: 1
    Last Post: 15-11-2007, 04:57 PM

Members who have read this thread : 0

Actions : (View-Readers)

There are no names to display.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •