Thread: Help in C

  1. #1
    Registered User
    Join Date
    Dec 2002
    Posts
    15

    Help in C

    mmm..
    i wanted to start working on C
    so i bought a C advanced book because i already worked on C++ and C#
    now..
    i have to use windows because this computer belongs to everyone in my family.
    my book works with interrupts.
    so after lots of searches, i found a compiler named djgpp.
    but then i wanted to use sockets, but i somehow i couldn't
    so i downloaded 'libsocket'
    which didn't worked nither!
    is there a solution to my problems?
    or should i just give up?

  2. #2
    Registered User
    Join Date
    Dec 2002
    Posts
    15
    Originally posted by Salem
    I would suggest you take a look at this compiler
    http://www.borland.com/bcppbuilder/freecompiler/

    It's a command line compiler (like DJGPP), but its also a true win32 console compiler, so it also has access to the win32 API, including sockets (in the form of winsock)

    You can get more links to compilers here
    http://www.compilers.net/Dir/Free/Compilers/CCpp.htm
    mmm..
    i'm guessing u mean
    C++BUILDER COMMAND LINE
    but it doesn't enables interrupts.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Using interrupts means using DOS

    Using sockets means using win32

    The two are not compatible
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  4. #4
    Registered User
    Join Date
    Dec 2002
    Posts
    15

    What does that mean?

    i can't use sockets and dos in the same program?.....
    i guess that means i have no options but starting building windows programs..

  5. #5
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Originally posted by Salem
    Using interrupts means using DOS

    Using sockets means using win32

    The two are not compatible
    Some people beg to differ.

    Quzah.
    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed