Qbasicnews.com

Full Version: C / C++ documentation.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
DJGPP is a C/C++ compiler. It is just a port of *nix/Linux C compiler (GCC). It works in 32 bits, produces fast code and it is very stable. It usually is used along with a IDE called RHIDE.

If you use DJGPP and the Allegro library you'll be able to port your code with minor modifications (just one or two additions) to Windows, Linux, Atari and Amiga, and maybe Macs.

http://www.djdelorie.com
Deal link Sad

I've heard that OpenGL is craploads better than Allegro.
It depends. They are both capable of making nice 2d games, and allegro is good for porting from it excellent dos counterpart. But OpenGL as well as DirectX are both fully capable, and better for doing things that arent simple 2d games or things that require performance.
Aw ... they changed once again

Try: http://www.delorie.com/

[for a strange reason, they have been shifting once or twice in the last three years]

Allegro is OK for portability and 2D games. OpenGL is more suited for 3D stuff; also, Allegro handles keys, sound and timing (among tons of things), and OpenGL is just a graphics blitter.
Okay now I'm damn pissed off. I installed DJGPP and Allegro just fine, but I can't run a simple program without RHIDE telling me that _main has already been defined, even though I'm not using a damned Allegro header file! And I can't access the help because it says the help is missing! Screw this.
The versions of DJGPP and Rhide are probably outdated, but the ones I have won't run on WinXP. Actually, RHIDE runs until I move the mouse, after which it crashes, and g++ crashes with an unintelligible message about something to do with a segment violation signal or whatnot... fooey.
Strange, 'cause they work for me on WinXP... Anyhow, they are not usable 'cause AFAIK windows XP only allows 16 Megs of memory in PMode... and my proggies need more Tongue

I am now doing a masive port to MSVC :'(
Quote:Okay now I'm damn pissed off. I installed DJGPP and Allegro just fine, but I can't run a simple program without RHIDE telling me that _main has already been defined, even though I'm not using a damned Allegro header file! And I can't access the help because it says the help is missing! Screw this.

I think you forgot to download a few vital files, it is important to make sure you download all the files, and unzip em in the same direcotory. Then it is reccomemded you install djgpp in autoexec.bat.
Pages: 1 2