K
K
kononov9712017-09-25 12:14:43
C++ / C#
kononov971, 2017-09-25 12:14:43

How to create an empty c++ console application in VS 2017?

Previously, when using the studio in it, when creating a console application, a dialog box appeared in which you could select an empty application by checking the box next to this item. Today I updated VS and now when creating a console application this dialog box does not come out, a project with files is immediately created. I tried deleting all files and sawing the project from scratch, but it gives an error, even in Hello Word - "unexpected end of file while searching for a precompiled header. Perhaps you forgot to add the directive "#include "StdAfx.h"". How to create an empty one after all Appendix?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
devalone, 2017-09-25
@devalone

Maybe the studio is right after all and you actually forgot ? #include "stdafx.h"

S
SagePtr, 2017-09-25
@SagePtr

I don't know, I have everything in place:
Perhaps you are looking in the wrong place, for example, in the section "Classic Windows application"

M
max_ostrom, 2017-10-25
@max_ostrom

You need to select "Windows Desktop Wizard", then there will be settings for the console application as in 13/15 studios

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question