Visual Studio 2015 没有 cl.exe

2021-12-30 00:00:00 c++ visual-studio-2015

我下载了 Visual C++ 和 Visual Studio,但找不到 cl.exe 来编译我的 C++ 文件.安装路径为`C:Program Files (x86)Microsoft Visual Studio 14.0VCin.

I downloaded Visual C++ and Visual Studio, but I cannot find cl.exe to compile my C++ file. The path to the install is `C:Program Files (x86)Microsoft Visual Studio 14.0VCin.

在哪里可以找到编译 C++ 代码的编译器?

Where can I find the compiler to compile C++ code?

推荐答案

Visual Studio 2015 默认不安装 C++.您必须重新运行安装程序,选择修改,然后检查编程语言 -> C++

Visual Studio 2015 doesn't install C++ by default. You have to rerun the setup, select Modify and then check Programming Language -> C++

相关文章