Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm having a problem finding which compiler can support Windows7 for C or C++ programming. I had installed Turbo but it does not work in full screen on Windows 7. Please let me know which compiler will be appropriate.

share|improve this question

7 Answers 7

Microsoft Visual C++ 2010 Express, which is free.

share|improve this answer
1  
And because it's from Microsoft you know that it should support the full windows API properly. –  Matt H Oct 17 '10 at 22:34
1  
@Matt: Most C compilers support the full Windows API if you have the Platform SDK. The only ones that don't use a different ABI altogether. –  Ignacio Vazquez-Abrams Oct 17 '10 at 22:36
1  
Thats part of the reason I put this comment. People mentioned some very very old compilers that worked well in DOS or early versions of windows. –  Matt H Oct 18 '10 at 19:59

GCC from either MinGW or Cygwin should work fine under Windows 7.

share|improve this answer
2  
I couldn't recommend cygwin for new projects. It has a lot of overhead. The MinGW implementation is better. –  Matt H Oct 18 '10 at 8:11

You can get Turbo C working on Windows 7 with DOSBox. Some of the applications where I work were made in-house years ago, and only work on operating systems that support full screen DOS applications, which means anything prior to Windows Vista. Since deploying Windows XP on new systems was not an option, I did a little brainstorming and DOSBox came to mind, which of course worked beautifully.

Turbo C is very old however and there are better compilers out there now such as GCC which you can use on Windows via MinGW. Code::Blocks is a great IDE which gives you the option of an installer bundled with MinGW as your compiler, an awesome freeware combination.

And as already mentioned, there is also Microsoft's development environment, Visual C++.

share|improve this answer

C-Free is also a Nice one u can go for it

share|improve this answer
    
An light 6905 KB download for C-Free 4.0 (version 4 is free whereas version 5 is commercial). You can get it at programarts.com/cfree_en/download.htm –  Gulshan Oct 18 '10 at 5:03

You can try Qt Creator. As a bonus you'll get whole Qt, which is platform independent C++ GUI library.

share|improve this answer

lcc-win32 is a free compiler for Windows.

share|improve this answer

use Gcc with CodeBlocks, this is the best solution for C programming in Windows 7/8/Vista

Get it from here. http://www.codeblocks.org/downloads/26

But if you want to run Turbo C, you can do it via Dos Emulator DOS-Box (as answered by Chaitanya)

However I will strongly recommend to use Code Blocks

You may need to switch Turbo C with DOS-Box, if you have to use graphics.h Libraries (which I found easier, compared to CodeBlocks)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.