Solved

C++ compiler for windows 7

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??
7 answers Last reply Best Answer
More about compiler windows
  1. 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...
  2. Best answer
    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.
  3. 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
  4. @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
  5. 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 ??
  6. 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.
  7. Wiki on IDE

    a compiler just compiles the code, usually ran from command line (an IDE has a compiler it uses in the background)
Ask a new question

Read More

Programming Compile Windows 7 X64 Windows XP Apps