且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

我可以在没有 Visual Studio 的情况下使用 Visual C++ 编译器吗?

更新时间:2022-05-20 01:45:04

可以,例如 Windows SDK 自带 Visual C++ 编译器,但不包含 Visual Studio,快速搜索发现 此 msdn 页面.

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.

来自 Microsoft 的 LE出色"决定:似乎 较新的 Windows SDK 不附带编译器,因此您需要安装 Visual Studio 才能从命令行使用.

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.