PDA

View Full Version : Freeware C++ Compiler



xamenus
June 4th, 2004, 03:07
What is the best freeware C++ compiler for Windows XP platforms, preferably with a GUI?

Quvack
June 4th, 2004, 03:23
I use DevC++, it has a nice IDE (gui) and supports a few different compilers :)

xamenus
June 4th, 2004, 03:43
I use DevC++, it has a nice IDE (gui) and supports a few different compilers :)
Thanks, because that's what I just downloaded! :P

Elly
June 4th, 2004, 03:59
You can also obtain a freeware version of MS VC++, but its only the compiler, not the IDE ,.AFAIK. Borland C++ is free too. For a list of free and commercial compilers, check this page : http://rafb.net/efnet_cpp/compilers/ . Hope that helps.

Yours,
-Elly

Doomulation
June 4th, 2004, 10:57
I wonder if you truly can appoint a "best" compiler. You should simply stick with the one you like best.

xamenus
June 4th, 2004, 16:16
Thanks for the suggestions, everyone. Now I just have to figure out how to use it! I'm a complete beginner to this, and I would like to start off by compiling the sources of an NES emulator, such as nester.

LXS
June 5th, 2004, 07:45
If you're really new at programming don't learn by reading other (good) people code.
Start by learning the "how to make an executable" process, compilation and linking, then control structure and so on...
Moreover, I might be wrong but is Nester written in C++?

xamenus
June 5th, 2004, 16:38
Yeah, it's C++.

PS - I just uninstalled Devcpp because I didn't have the full release. I'm going to download the full release (12 MB on 48 k connection!) then try again.

Nighty0
June 5th, 2004, 21:35
best freeware..... used by mame.....
http://gcc.gnu.org/

xamenus
June 7th, 2004, 07:13
Dumb newbie question- how do I get the C header files (such as stdin.h, etc.) Are they not included with Devcpp?

Hacktarux
June 7th, 2004, 17:32
standard header are included with dev-c++ as well as all windows api headers if you download the dev-c++ version that include mingw32 (the one that is around 12Mb).

Maybe if you don't find stdin.h it's because it doesn't exist, i think what you're looking for is stdio.h

And nighty0: gcc is the compiler used by dev-c++ so you're talking about the same thing ;)

xamenus
June 7th, 2004, 19:08
standard header are included with dev-c++ as well as all windows api headers if you download the dev-c++ version that include mingw32 (the one that is around 12Mb).

Maybe if you don't find stdin.h it's because it doesn't exist, i think what you're looking for is stdio.h

And nighty0: gcc is the compiler used by dev-c++ so you're talking about the same thing ;)

Thank you very much Hacktarux, I've written my first C program- Hello World! :P But what I'd like to do is compile something that has source files spread over various directories, such as a win32 application. Guess I'll have to read up more...

smcd
June 7th, 2004, 23:06
Here's a few places to start off:
http://www.thefreecountry.com/
http://freebyte.com/programming/

For my own personal preference regarding a freeware IDE & Compiler for windows (similar to the Visual C++ IDE) is Mingw Studio (uses the gcc/gnu compiler set):
http://www.parinya.ca/

JinXD
June 9th, 2004, 13:37
Anyone got any good sites to check out, specifically for writing emulators in C++. I'm meaning Chip8 and similar, not next gen emulators. Also what compiler did you folks use if any of you have written a chip8 emu? Thanks in advance :D

Doomulation
June 10th, 2004, 08:38
I used ms visual c++ net. A good site on how to begin your chip8 emu is I think http://www.goldroad.co.uk/chip8.html
Oh and btw, some info there is not 100% accurate. But since there's a chip8 thread, you can post any questions you have there later.