如何在Visual Studio 2012中为本地C ++可执行文件创建项目

如何在Visual Studio 2012中为本地C ++可执行文件创建项目

问题描述:

如何在Visual Studio 2012中为本机c ++可执行文件创建项目.在以前的版本中,新建项目-> Visual C ++-> Win32项目.我安装了msvc 2012 RC,找不到类似的东西.

how to create project for native c++ executable in visual studio 2012. In previous version New Project -> Visual C++ -> Win32 Project. I installed msvc 2012 RC and can't find anything like that.

打开新项目对话框时看到的内容取决于首次加载VS时选择的设置.如果您选择的不是C ++或常规开发"设置,默认情况下C ++将被隐藏.然后,您可能需要展开其他语言"才能看到它.

What you see when you open the new project dialog depends on what setting you chose when you loaded VS for the first time. If you chose something other than C++ or General Development settings, C++ will be hidden by default. Then you may have to expand "Other Languages" to see it.

但是,如果选择了C ++或常规开发"设置,则应该在新项目对话框中将Visual C ++视为打开选项.将提供Visual C ++-> Win32控制台应用程序.

If you chose C++ or General Development settings, however, you should see Visual C++ as on option in the new project dialog. There will be Visual C++ -> Win32 Console Application.