Good C++ complier

Does anyone know where I can get a good c++ complier. One that will work under a windows 7 platform?
Thanks
Microsof Visual Studio 2012 in my opinion
You can get MinGW. That is what I use. I have problems with it sometimes, but they are easily fixed.
Microsoft Visual Studio 2013 (the free Expess version is sufficient) is current .
http://www.microsoft.com/en-us/download/details.aspx?id=40787

The GNU offerings MinGW: http://nuwen.net/mingw.html
or CygWin: http://cygwin.com/install.html is an alternative.
(Good compiler, bundled with a poor implementation of the standard library.)
I concur.

MS Visual Studio 2013 - download for free. Good for a month. If you sign in/up, then the evaluation version is good for 90 days.

http://www.microsoft.com/en-us/search/DownloadResults.aspx?q=visual+studio+2013
Last edited on
@jlBorges: is cygwin actually a compiler? i was under the impression it was a shell
> is cygwin actually a compiler?

No.

Cygwin is:
a large collection of GNU and Open Source tools which provide functionality similar to a Linux distribution on Windows.
a DLL (cygwin1.dll) which provides substantial POSIX API functionality.
http://www.cygwin.com/


> i was under the impression it was a shell

It has several shells: bash, C shell, Korn shell and many other shells
It has two compiler suites: from GCC and LLVM/clang
And lots more goodies: grep, awk, sed ... http://cygwin.com/packages/
I concur.

MS Visual Studio 2013 - download for free. Good for a month. If you sign in/up, then the evaluation version is good for 90 days.

http://www.microsoft.com/en-us/search/DownloadResults.aspx?q=visual+studio+2013

just to let you know, the above version of MS VS 2013 is only for 90 days max, but includes the resource editor (and a bunch of other stuff that Express omits). The resource editor is used to create dialogs, toolbars, etc... for a program.

I read somewhere that installing a different Visual Studio can be difficult after removing VS 2013 - Express or the 90-day full evaluation version mentioned in the quote above. AFAIK, it´s recommended to install it on a separate partition.
Download "Visual Studio Express 2013 for Windows Desktop" for from http://www.visualstudio.com/en-us/downloads/download-visual-studio-vs#DownloadFamilies_2

You can also use clang, it is most ISO standard compliant C++ compiler. You can use it on Windows, even with Visual Studio. You can get it here http://llvm.org/releases/download.html#3.4

MinGW and gcc (or clang) in Cygwin will work too but they dont integrate with Visual Studio, you will have to learn some basic UNIX/shell commands and makefiles when you need to build more than one source file. All the tools are command line only.
MinGW - Minimum GCC for Windows - with Eclipse is a nice combo. It's free and has no expiration date.

Eclipse is an open-source IDE used for many languages.

http://www.dcs.vein.hu/bertok/oktatas/cpp_by_eclipse/eclipse_for_cpp_on_windows.html#Install_gdb

and

http://www.codeproject.com/Articles/14222/C-Development-using-eclipse-IDE-Starters-guide

The only problem is that about once a week either Eclipse or MinGW asks me what projects I'm working on, and wants to do some snooping in my projects folder. Even that isn't so bad. I'm just not sure if it's picking up only Eclipse/MinGW projects, or ALL of my C++ projects (??). It would probably work better for me if I had a separate and dedicated pc just for Eclipse/MinGW... but I don't.
At school, we use only MinGW Developer Studio 2.05 r9 + MinGW Compiler (http://koti.mbnet.fi/vaultec/files/miscellaneous/mingwstudio/MinGWStudioFullSetup-2.05r9.exe)

However, at home I chose to use Microsoft Visual Studio 2012. I highly recommend it.

Raul
I have the same question. Can anyone help me.....I have Visual Studios 2010 and I am currently running on Windows 7, everytime I run my code( without errors) I get an error that says that I have corrupted data. What does this mean?
you don't have the same question. no one here was talking about code. we were talking about compilers. please make a new thread in the beginners section. also, you didnt do it here, but you need to include your code. we cant tell why its not working if you dont do that
->You can get MinGW. That is what I use. I have problems with it sometimes, but they are easily fixed.

I'm having issues with MinGW's "too many segments error". My classes are so filled with templates, that I have to find another compiler to handle the 32000+ of segments that MinGW cannot handle. Currently, I'm commenting out some of these massively templated classes , which temporarilly frees up some segments. But soon I won't be able to comment out any more of these classes.
Last edited on
Topic archived. No new replies allowed.