Is there any way that I can use Visual C or Visual C++ compilers from the command line without having to install visual studio?
I have tried it before, and I couldn't find one. Seeking help.
The Visual Studio build tools include a C compiler that you can use to create everything from basic console programs to full Windows Desktop applications, mobile apps, and more.
Microsoft C++ Compiler (MSVC) This is the default compiler for most Visual Studio C++ projects and is recommended if you are targeting Windows.
Microsoft Visual C++ (MSVC) is a compiler for the C, C++ and C++/CX programming languages by Microsoft. MSVC is proprietary software; it was originally a standalone product but later became a part of Visual Studio and made available in both trialware and freeware forms.
Yes you can, for example Windows SDK comes with a Visual C++ compiler, but it doesn't contain Visual Studio, a quick search found this msdn page.
LE "brilliant" decision from Microsoft: it seems that newer Windows SDK doesn't come with compilers, so you need to install Visual Studio to have what to use from command line.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With