问题
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.
- Select Installed -> Visual C++ -> Windows Desktop -> Windows Desktop Wizard
- 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