Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I use Visual C++ compiler without Visual Studio? [closed]

Tags:

c++

c

visual-c++

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.

like image 910
DesirePRG Avatar asked Dec 27 '13 05:12

DesirePRG


People also ask

Can I use Visual Studio to compile C?

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.

Does Visual Studio have its own compiler?

Microsoft C++ Compiler (MSVC) This is the default compiler for most Visual Studio C++ projects and is recommended if you are targeting Windows.

Is MSVC compiler free?

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.


1 Answers

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.

like image 115
Zlatomir Avatar answered Oct 02 '22 12:10

Zlatomir