free C compiler

May 15, 2010 at 9:36pm
Hello, Can anyone recommend a free general purpose C++ compiler, and if so, where I can find it.

Ideally i would like to work within some kind of development environment and would prefer something fairly self contained.

Applogies if my request is really vague , i don't really have any specific needs at the moment, just fancy a dabble to start with

cheers

May 15, 2010 at 9:37pm
microsoft has VB 2010 express and its free!
May 15, 2010 at 9:42pm
C/C++ compiler: GCC (the GNU Compiler Collection) which includes gcc (the GNU C Compiler) and g++ (the GNU C++ Compiler). You would use MinGW (Minimalist GNU on Windows) or Cygwin (I prefer Cygwin) on windows and GCC on UNIX.
IDE: I'd recommend either Code::Blocks or Netbeans. Some people like VC++ and the Visual Studio IDE. You may wish to check them out.
May 16, 2010 at 3:55pm
i recommend Dev C++
May 16, 2010 at 4:02pm
i recommend Dev C++


You shouldn't. It's horribly outdated.
May 16, 2010 at 7:11pm
I recommend MinGW, and NOT Dev C++.

-Albatross
May 16, 2010 at 7:20pm
What? How can you compare MinGW with Dev-C++? One's a compiler suite and the other is an IDE (which, by the way, comes with a 5 years old version of MinGW).

I already mentioned all the big players in terms of compilers -- gcc/g++ and vcc/v++ are the only compilers that are really worth using (exception: the OpenWatcom C Compiler (wcc) is useful for 16-bit applications) unless you need ridiculous levels of optimization in which case you might use icc. But if you need that much optimization and you're not writing the operating system of a rocket ship you need to fix your code.

I also mentioned three of the most popular IDEs -- Code::Blocks, Netbeans and Visual Studio.

Oh, and we have an article for this exact topic, which pretty much makes the entire discussion irrelevant and obsolete: http://cplusplus.com/forum/articles/7263/
May 16, 2010 at 7:28pm
Wait a second. He's not comparing anything. He's saying he recommends MinGW and doesn't recommend Dev-C++.

What the hell is VCC, by the way?
May 16, 2010 at 8:04pm
Ok, then maybe I'll write an article on the matter.

I just decided to call Visual C 'vcc' because it's easier to type. Same for VC++ -> 'v++'.
May 16, 2010 at 8:26pm
Well, if you're going to take the lazy route, just call it CL.
May 16, 2010 at 8:31pm
What does CL stand for?
May 16, 2010 at 8:39pm
No idea. It's the name of the executable.
May 16, 2010 at 9:23pm
it stands for "Consumer's lunacy" for the fact that you'd have to be a lunatic to use it :P
May 16, 2010 at 9:50pm
closed account (z05DSL3A)
I already mentioned all the big players in terms of compilers

They have all been mentioned many times by many people but still the question is asked and still the question is answered and argued over.

Edit:
No one has even asked the OP what OS he is using.
Last edited on May 16, 2010 at 10:00pm
May 16, 2010 at 11:54pm
I run linux most of the time but I use Cygwin when forced onto windows
May 17, 2010 at 7:08am
Thank you all for your recommendation. I have decided on visual C++ express.
May 17, 2010 at 7:15am
@Grey Wolf,
Well, gcc works on Linux and windows (by using MinGW or Cygwin) and probably on Mac OSX too.
May 17, 2010 at 8:16am
closed account (z05DSL3A)
Well, gcc works on Linux and windows (by using MinGW or Cygwin) and probably on Mac OSX too.

Well I never knew that(!)
May 17, 2010 at 12:08pm
I don't know how to reply to that...
...
I'm guessing it works on OSX; I don't actually know but that's why I said 'probably'.
May 17, 2010 at 12:47pm
closed account (z05DSL3A)
It was sarcasm, no reply was necessary.

Edit:
GCC is used on Mac OS X.
Last edited on May 17, 2010 at 12:50pm
Topic archived. No new replies allowed.