How to solve the problem that the console window disappears in a flash after visual studio 2017 runs

“Press any key to continue with Visual Studio 2017” will not appear in the console window after running the program using Ctrl+F5. “Or” Please press any key to continue.” The main reason for this is that an “Empty Project” is used to build the Project instead of a “Win32 Console Application”.
At this point, just select “Project”>” The attribute “& gt; It will appear as shown in the image below, then select “System”> SUBSYSTEM “, changing “SUBSYSTEM” to “/SUBSYSTEM: CONSOLE”; I can solve

Read More: