Thread: Recommend a Compiler

  1. #1
    Ethereal Raccoon Procyon's Avatar
    Join Date
    Aug 2001
    Posts
    189

    Recommend a Compiler

    I've been working on a relatively large game-related project for quite a while using the unbelievably ancient Borland C/C++ 3.1 compiler for several months. The compiler works well and I've even downloaded enough library files got it to work with 640x480x256 graphics and (to some extent) SoundBlaster-type audio.

    However, the problem remains that it's old and extremely crash-prone (ANY memory-related screw up will necessitate a reboot,) plus the graphics are slightly slower than I'd like. And it's DOS, so it can't be run in a Windows window and can only display an extremely limited amount of code at one time.

    So, I'd like to download a new one. The only requirements are that it is (1) free, (2) support instantaneous keyboard input such as a while loop with kbhit(), (3) be capable of fast 640x480x256 graphics, and (4) compatible with SB audio, even if additional code is required (such as what I already have). Nonsusceptibility to crashing the system is also a major plus (As part of an internship I programmed on a Unix machine all summer, and didn't manage to crash it once. I don't expect this kind of performance in Windows, but anything better than what I already have would be nice!)

    I see there are loads of them linked to from this site, but I'm not sure how many fulfill these requirements and of those that do, which is best for my purpose. So, if anyone would be kind enough to dispense their top recommendation(s), it would be most appreciated!

    -

    Also, let me add that if (for example) Microsoft Visual C++ were far enough above the others, I'd be willing to buy it. Same with CodeWarrior, and other non-free compilers. But I've used these in the past, and wasn't too impressed - but I didn't know anywhere near as much about programming then as I do now.
    Last edited by Procyon; 09-01-2001 at 09:49 PM.

  2. #2
    geek SilentStrike's Avatar
    Join Date
    Aug 2001
    Location
    NJ
    Posts
    1,141
    But quite sure about 2,3, or 4, but Bloodshed Dev C++ has 1 covered .
    Prove you can code in C++ or C# at TopCoder, referrer rrenaud
    Read my livejournal

  3. #3
    Blank
    Join Date
    Aug 2001
    Posts
    1,034
    djgpp runs in protected mode DOS as far as I understand most c memory
    bugs will give a segmentation error. Any non privilage program running on windows NT/2000 should in theory not crash the OS. With windows 98 you shouldn't be able to crash it with common c memory bugs.

  4. #4
    Anti-Terrorist
    Join Date
    Aug 2001
    Location
    mming, Game DevelopmentCSR >&<>&2Minimization of boolean functions, PROM,PLA design >&0>&WA, USA guitar, dogsCommercial Aviation >&>>&USAProgramming
    Posts
    742
    You should get Linux and stay away from Windows. Use gcc
    I compile code with:
    Visual Studio.NET beta2

  5. #5
    Ethereal Raccoon Procyon's Avatar
    Join Date
    Aug 2001
    Posts
    189
    A few DJGPP questions, then:

    Well, I'm using Windows 98 (and although I'm a Linux fan, unfortunately an operating system change is not an option at this point.) So DJGPP won't normally crash the computer if there's a memory-related error?

    Does the DJGPP editor run in DOS or in a window?

    Also, I ran into a lot about DJGPP graphics a while back when I was looking for ways to do graphics in my current compiler; but I'm still curious about whether it can do fast 640x480x256, if anyone knows.

    Edit: DJGPP, not DJCPP...
    Last edited by Procyon; 09-02-2001 at 11:14 AM.

  6. #6
    Anti-Terrorist
    Join Date
    Aug 2001
    Location
    mming, Game DevelopmentCSR >&<>&2Minimization of boolean functions, PROM,PLA design >&0>&WA, USA guitar, dogsCommercial Aviation >&>>&USAProgramming
    Posts
    742
    Linux is free. Go for it.

    Otherwise DJGPP is at Click Here
    I compile code with:
    Visual Studio.NET beta2

  7. #7
    Registered User Fool's Avatar
    Join Date
    Aug 2001
    Posts
    335
    I use DevC++ and love it.

    -Fool

  8. #8
    Blank
    Join Date
    Aug 2001
    Posts
    1,034
    640x480 probably you could into that mode with allegro with djgpp or you would use directx if developing for windows. For djgpp's editors, rhide runs under dos but I usually use emacs NT or you can use emacs for DOS. There are a couple of other editors you can use.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Vc++ or my old compiler.
    By epidemic in forum Windows Programming
    Replies: 6
    Last Post: 07-10-2008, 03:22 PM
  2. Help With finding a compiler
    By macman in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 04-15-2005, 08:15 AM
  3. C Compiler
    By SAMSEIED in forum C Programming
    Replies: 5
    Last Post: 06-06-2002, 05:44 PM
  4. Special Compiler for win app's
    By Unregistered in forum Windows Programming
    Replies: 19
    Last Post: 04-26-2002, 03:52 PM
  5. Bad code or bad compiler?
    By musayume in forum C Programming
    Replies: 3
    Last Post: 10-22-2001, 09:08 PM