Sign in with
Sign up | Sign in
Your question
Solved

C++ compiler for windows 7

Last response: in Apps General Discussion
Share
December 29, 2009 4:38:18 AM



does anyone know where do I get a C++ compiler for windows 7 x64 ??I had turboC++ v4.5 which worked fine with win xp sp2 x86 but this version doesn't work with win7 x64!!I have also changed the compatibly mode to xp for the installer but the compiler won't install at all!!!!So please tell me where do I get a c++ compiler compatible with win7 x64??

More about : compiler windows

Anonymous
a b $ Windows 7
December 29, 2009 2:38:38 PM

sayantan said:
does anyone know where do I get a C++ compiler for windows 7 x64 ??I had turboC++ v4.5 which worked fine with win xp sp2 x86 but this version doesn't work with win7 x64!!I have also changed the compatibly mode to xp for the installer but the compiler won't install at all!!!!So please tell me where do I get a c++ compiler compatible with win7 x64??







get virtual pc and install xp instead it worked for me...
m
0
l

Best solution

a b $ Windows 7
December 30, 2009 3:02:17 PM

i know all you need is a compiler, though have you tried Visual C++ 2008 Express . There is a way to add x64 compilation (instead of Win32).

THe other way to do this is to use g++ for windows, there is a switch for 64 bit compilation.
Share
Related resources
December 31, 2009 6:08:40 AM

Just use Visual C++ 2008 express, its free, and during install it will automaticall detect 64bit systems. Any programming professor has recommended it to all of his students in my classes, and i can vouch for its ease and dependability

http://www.microsoft.com/express/download/#webInstall

goto to the download page and scroll toward the bottom
m
0
l
a b $ Windows 7
December 31, 2009 1:12:12 PM

@eric not everyone wants an IDE, he may just want a compiler, and no it doesn't auto detect 64bit systems, you have to change some settings to compile to a 64bit target, ie in the configuration manager, if you don't do this it is still compiling under 32bit (Win32)

i know since i have been using g++ i prefer it and a Makefile over an IDE
m
0
l
December 31, 2009 1:56:26 PM

mindless728 said:
i know all you need is a compiler, though have you tried Visual C++ 2008 Express . There is a way to add x64 compilation (instead of Win32).

THe other way to do this is to use g++ for windows, there is a switch for 64 bit compilation.



Speaking truth I am very new in the world of programming.Can you just tell me what a G++ is??Is it a compiler for C++??Whats the difference between a compiler and IDE ??
m
0
l
December 31, 2009 3:18:45 PM

G++ is GNU C++. There are many ports including Windows.

Also, being that it's on many OSs, depending on your program, it could be A LOT easier to port to linux/etc, especially if you couple it with cross-platform libraries.

A compiler is nothing more than the program that converts your code into executable files. An IDE (Integrated Development Environment) is what you see when ever someone is using Visual Studio.
m
0
l
a b $ Windows 7
December 31, 2009 4:46:25 PM

Wiki on IDE

a compiler just compiles the code, usually ran from command line (an IDE has a compiler it uses in the background)
m
0
l
!