Thread: C compilers

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    3

    C compilers

    I just started c programming in school and I was wondering if there is any great free compilers on the net If anyone can help me out Thx Derek

  2. #2
    Unregistered
    Guest
    www.google.com
    Try searching for DevC++, GCC, Borland, and free C/C++ Compilers

  3. #3
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,212
    Read the FAQ.

    DJGPP - A free compiler, best I've used (except for linux gcc)
    http://www.delorie.com/djgpp/
    use the zip picker to get your files
    it's a pain in the butt to install but you can probably figure it out.

  4. #4
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    the thing is, djgpp is only a compiler, not an IDE. And it'll also be a pain for newbies ( like me ) who might make errors and without the help of IDE, it'll be hard to debug even if it's the tiniest error.
    Last edited by Nutshell; 04-19-2002 at 08:58 AM.

  5. #5
    Registered User
    Join Date
    Dec 2001
    Posts
    44
    Originally posted by Nutshell
    the thing is, djgpp is only a compiler, not an IDE. And it'll also be a pain in the butt for newbies ( like me ) who might make errors and without the help of IDE, it'll be hard to debug even if it's the tiniest error.
    In a sense, this is beneficial! If bugs are hard to debug then you have an immediate incentive to learn to write code with fewer bugs much earlier!

    The other, and possibly more useful benefit is that you learn to debug without an IDE with integrated debugger holding your hand. There have been many situations (mostly involving multiple processes, multiple threads, or time critical operations) where the debugger 'breaks' the code more than the bug does! Learning to debug without the tool, although it may initially more difficult, is a skill which should not be overlooked.

    Ian Woods

  6. #6
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,212
    Originally posted by hairyian


    In a sense, this is beneficial! If bugs are hard to debug then you have an immediate incentive to learn to write code with fewer bugs much earlier!

    The other, and possibly more useful benefit is that you learn to debug without an IDE with integrated debugger holding your hand. There have been many situations (mostly involving multiple processes, multiple threads, or time critical operations) where the debugger 'breaks' the code more than the bug does! Learning to debug without the tool, although it may initially more difficult, is a skill which should not be overlooked.

    Ian Woods
    WHAT? There are tools to fix your bugs FOR YOU? I've never used a debugger. Ever.

  7. #7
    Blank
    Join Date
    Aug 2001
    Posts
    1,034
    All you need to do to debug a djgpp made program is to compiler with -g and then gdb prog.exe More information is at www.delorie.com

  8. #8
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    i've never used a debugger either, i was sayhing that the ide will catch compile errors for you.

  9. #9
    Registered User
    Join Date
    Sep 2001
    Posts
    752
    Umm... ok, so that's what RHIDE is for... you can get it from www.delorie.com
    Callou collei we'll code the way
    Of prime numbers and pings!

  10. #10
    Registered User breed's Avatar
    Join Date
    Oct 2001
    Posts
    91
    Try the Borland site, you may have to register as a member with them to download from their site,
    but if it's a no frills DOS based compiler that has the necerssary tools try their Turbo C 1.01
    Before you judge a man, walk a mile in his
    shoes. After that, who cares.. He's a mile away and you've got
    his shoes.
    ************William Connoly

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ Builder Comparison
    By ryanlcs in forum Tech Board
    Replies: 14
    Last Post: 08-20-2006, 09:56 AM
  2. Is It Possible To Install Multiple Compilers?
    By mishna_toreh in forum C Programming
    Replies: 3
    Last Post: 05-13-2005, 07:32 AM
  3. Compilers for Windows
    By LegendsEnd in forum Windows Programming
    Replies: 2
    Last Post: 03-26-2004, 08:03 AM
  4. compilers
    By ZakkWylde969 in forum C Programming
    Replies: 12
    Last Post: 06-17-2003, 01:40 PM
  5. Compilers, Compilers, Compilers
    By Stan100 in forum C++ Programming
    Replies: 11
    Last Post: 11-08-2002, 04:21 PM