Sign in with
Sign up | Sign in
Your question
Solved

C++ compiler

Last response: in Windows 7
Share
December 29, 2009 4:16:43 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

Best solution

a c 209 $ Windows 7
December 29, 2009 5:30:58 AM

Wow, Turbo C++ is very, very old.

Have you tried Visual C++ 2008 Express Edition? It's a free "lite" version of Microsoft's full "Visual Studio 2008" product.

You can also get the "express" version of Visual C#. C# ("C Sharp") is a very C++ - like language that works with the .NET framework. Being an old C/C++ bigot myself I avoided it for quite some time but I finally tried it out several months ago and I'm very, very impressed by how easy it and the .NET framework are to use.
Share
a b $ Windows 7
December 29, 2009 7:31:46 AM

Visual C++ Express is very good. but be aware that it only contains the 32-bit compiler (which will run fine on a 64-bit system). If you want to produce 64-bit executables have a look at the SDKs, which contain 32- and 64-bit command-line compilers.
m
0
l
Related resources
December 29, 2009 8:30:16 AM

Mingw (can be used with Dev-C++, CodeBlocks...)
m
0
l
December 29, 2009 11:23:49 AM

Microsoft Visual Studio 2008 Professional Version(Complete package) with free license for 90days.

You get everything for 32 and 64 bit apps. Use the windows updates to get latest pathes/updates.

Reload software before the 90 days
m
0
l
a b $ Windows 7
December 29, 2009 11:28:55 AM

Quote:
Reload software before the 90 days
You think Microsoft haven't thought of that?
m
0
l
a c 209 $ Windows 7
December 29, 2009 4:26:39 PM

I should probably mention that if you want to compile "Turbo C"-vintage programs with a current compiler you may be in for a bit of a rude awakening. The development community has become much more aware of security issues and so there have been a lot of changes to the runtime library routines that aim to eliminate vulnerabilities like buffer overflow bugs.

As an example, the classic "strcpy" routine used to accept just a source and target parameter, but if you try to compile it with a current Microsoft compiler you'll get a bunch of warning messages and will be strongly advised to change the code to use new routines that also have a maximum length parameter (such as "strcpy_s").

You can suppress these warnings to compile the code unchanged, but it's probably a good idea to have a look at updating the code.

Here's a Microsoft article with more detail: http://msdn.microsoft.com/en-us/library/ms379616%28VS.8...
m
0
l
December 30, 2009 11:32:39 AM

I have tried to download visual c++ express edition from the Microsoft website but the download is only 2.6 Mb....I mean its not complete...The 2.6 Mb installer asks to download a few more files from the net but the problem is that my PC doesn't have a network connection...(I download the files on one computer and install them on the other one which I am unable to do in this case)...So if there is a complete version of visual C++ express for download then please inform me...
m
0
l
a c 209 $ Windows 7
December 30, 2009 4:25:09 PM

At the bottom of this page there's an "offline install" link that lets you download an ISO image which you can burn to DVD for installation on an unnetworked PC.
m
0
l
December 31, 2009 11:44:57 AM

Thanks for help alot
m
0
l
!