cl.exe is a tool that controls the Microsoft C++ (MSVC) C and C++ compilers and linker.
https://learn.microsoft.com/en-us/cpp/build/reference/compiler-options?view=msvc-170
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
Can I compile pure C code in Visual Studio?
We can change the extension file to .c but I think the code compiles in Visual C++.
I want to compile C code in C compiler in Visual Studio, not in C++ compiler.
Thank you
cl.exe is a tool that controls the Microsoft C++ (MSVC) C and C++ compilers and linker.
https://learn.microsoft.com/en-us/cpp/build/reference/compiler-options?view=msvc-170