What is a C header file?

Which compiler will be able to compile C programs with the header file, <windows.h> ?

  • Especially turbo c is not able to compile windows.h header file. It can only compiled by some other compilers.

  • Answer:

    GCC Compiler is a third party compiler. But it can able to compile that header files.

Shankar Thiyagaraajan at Quora Visit the source

Was this solution helpful to you?

Other answers

Microsoft Visual C++ http://www.microsoft.com/visualstudio/eng/products/visual-studio-express-for-windows-desktop C++ compiles C nicely. :) Try that and you will be cursing whomever is forcing you to use the Turbo C environment. ;)

Leonid S. Knyshov

Forget about Turbo C. Go for the GCC compiler. It will solve your problem. You should definitely try Codeblocks. It is an open source IDE for C/C++ programming. You can download it from the following link - http://www.codeblocks.org/downloads/26 Make sure you download the latest release that comes bundled with MinGW compiler for windows otherwise you'll have to download GCC separately.

Arun Michael Dsouza

What you are looking for is the Visual C++ compiler. This is where you need to go: https://www.visualstudio.com/downloads/download-visual-studio-vs#If you prefer open source content, the GNU Compiler Collection has a Windows binary which supports the Windows API. This is where you need to go for the Windows version of GCC: http://mingw-w64.org/doku.phpEven though there is an open source option for a C++ compiler which can handle the Windows API, I'd recommend using Visual C++.

Prashant Warrier

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.