我已经安装了Visual Studio 2015,但是没有C ++项目.
我遇到了问题,我想在Visual Studio 2015中编写c ++代码,但是由于新建项目"窗口中没有c ++模板,所以我无法创建c ++项目.
I am facing problem, I want to write c++ code in visual studio 2015, but I can't create c++ project because there is no c++ template in the New Project window.
我正在以这种方式创建新项目 文件>新建>项目> Visual C ++
I am creating new project in this way File > New > Project > Visual C++
,但是没有c ++模板.请帮助
but there is no c++ template. Please help
默认情况下,VS2015安装程序不会安装C ++.
The VS2015 installer does not install C++ by default.
由于已经安装了Visual Studio,因此可以修改现有安装.
Since you already have Visual Studio installed, you can modify the existing install.
- 在控制面板"->程序和功能"(或运行appwiz.cpl)中找到并运行Visual Studio 2015的安装程序.
- 等待安装程序对话框加载.
- 单击安装程序对话框底部的修改"按钮.
- 在功能"选项卡上,展开编程语言".
- 选择Visual C ++.
- 单击右下角的更新"按钮.
应该这样做.您可能必须插入安装媒体或受到下载的影响,但是这些天Windows会缓存安装程序信息,因此所需的所有内容可能已经存在于您的系统中.
That should do it. You may have to insert the install media or suffer through a download, but these days Windows caches the installer info so everything needed may already be present on your system.