When the console application in VS is running, the result screen will flash, whether using F5 or Ctrl + F5, and the result will not be visible. There are a lot of ways on the Internet, which is to add a pause statement to the program at the end or to get user input from the console statement. There’s a better solution:
Right click on your project entry, select the last item “Property/Properties” on the pop-up menu, and in the left column, find “Configuration Properties”
-> The linker – & gt; System, after clicking on the System item, subSystem in the right column configuring the value of the subSystem to “Console “.
After doing this, press Ctrl+F5 again and the program will stop at the console screen and prompt you to “Press any key to continue.” That’s the perfect solution.
Read More:
- How to solve the problem that the console window disappears in a flash after visual studio 2017 runs
- Solution to the flash of visual studio 2017 running program
- Solution to the flash of visual studio console program output window
- Solution to flash back of visual studio 2017 running program
- Flash back of running program in Visual Studio 2017
- Solution of command line window flashback when visual studio runs C + + program
- Three solutions to flash back of program running result box under vs
- The solution to the black window flash of running program on Visual Studio
- The problem of flash back by pressing enter window when debugging or executing program in Visual Studio C
- The perfect solution of VS2010 console program running in a flash
- Flash back when compiling Visual Studio
- Flashback problem of output window of visual studio 2017 console program
- Visual studio 2015 compiler, console flash solution
- [solution] visual studio will exit automatically after debugging the program
- Visual studio 2012, a complete collection of solutions to flash back windows after running
- Visual studio console program output window flashed by
- Solve the problem of flash back in Visual Studio 2010
- Solve the problem of “Visual Studio debugging flash back”
- The problem of running result window flash of vs2015
- Visual studio 2017, OpenGL program running prompt glut32.dll missing solution