How to create a Visual c++ MFC console project in visual studio 2017

ぐ巨炮叔叔 提交于 2020-01-04 13:41:07

问题


I've tried to program a socket in Visual Studio 2017, but I can't find the console application in Visual Studio 2017 like this:

Instead, I just see this window

and the wizard like this:

So how can I create a C++ console project with MFC like an earlier version of Visual Studio, or I have to reinstall visual studio 2015.


回答1:


Visual Studio 17 has a different dialog for adding new projects.

  1. Select Installed -> Visual C++ -> Windows Desktop -> Windows Desktop Wizard
  2. Select Console application with MFC

Or select Installed -> Visual C++ -> Windows Desktop -> Windows Console App if you don't want MFC or ATL



来源:https://stackoverflow.com/questions/50313127/how-to-create-a-visual-c-mfc-console-project-in-visual-studio-2017

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!