tags:

views:

165

answers:

6

I want to start learning C++, so I downloaded Microsoft Visual Studio 2010 Express, and the entire application freezes and crashes every time I try to compile (debug and release build) something (I have tried running it in Admin Mode). Is there a good alternative compiler that I could still use VS 2010 as the IDE?

+3  A: 

I am not sure why it crashes for you. But there are lots of C++ compilers out there.

http://en.wikipedia.org/wiki/List_of_compilers#C.2FC.2B.2B_compilers

And there is a thread below to use GCC with Visual Studio

http://stackoverflow.com/questions/216025/gcc-with-visual-studio

bdhar
+2  A: 

if its crashing, I would think its more likely the ide is crashing, not the compiler.

you can use the compiler from the command line as per http://msdn.microsoft.com/en-us/library/ms235639(VS.80).aspx

Keith Nicholas
I will try the command line, first I have to reinstall it..
Dr Hydralisk
Well I noticed that it is not the compiler (I don't think, I did not run the command line version), but when VS tries to run the compiled executable. When I go to the project folder and run the executable myself it runs fine. So I guess I will just have to deal with this bug.
Dr Hydralisk
A: 

Eclipse for C++

herbertD
Eclipse is not a compiler.
SigTerm
A: 

If you want something with IDE, I would suggest g++, Eclipse and CDT plugins. Works quite well.

You can use g++ on command line if you are comfortable that way.

Jack
A: 

How about bloodshed dev-cpp. It supports cygwin and mingw.

Skkard
A: 
bmargulies