Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C compiler for Windows? [closed]

People also ask

What is C compiler for Windows?

Microsoft C/C++ (MSVC) is a C and C++ compiler that, in its latest versions, conforms to some of the latest C language standards, including C11 and C17.

Is there an official C compiler?

No, there is no compiler provided by the C standard and thus no way to install it. You have to use a third-party compiler. The most common for Linux and macOS are called GCC (GNU Compiler Collection) and Clang.

How can I tell if C compiler is installed on Windows?

Type “gcc –version” in command prompt to check whether C compiler is installed in your machine. Type “g++ –version” in command prompt to check whether C++ compiler is installed in your machine. But, we are good if C compiler is installed successfully in our machine as of now.


You can use GCC on Windows by downloading MingW (discontinued) or its successor Mingw-w64.


You can get Visual C++ Express Edition straight from Microsoft, if you want something targeting Win32. Otherwise MinGW or lcc, as suggested elsewhere.


GCC is ubiquitous. It is trusted and well understood by thousands of folks across dozens of communities.

Visual Studio is perhaps the best IDE ever developed. It has a great compiler underneath it. But it is strictly Windows-only.

If you're just playing, get GCC --it's free. If you're concerned about multiple platfroms, it's GCC. If you're talking serious Windows development, get Visual Studio.


You could always just use gcc via cygwin.