When the console application in VS2010 is running, the result screen will flash, whether you use F5 or Ctrl + F5, so you can’t see the result. 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”
-> Connector – & 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.
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”
-> Connector – & 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:
- Why does the result screen flash when visual studio runs the program?
- Solution of vs program flashback problem
- The solution of flashing back after the end of console program running
- Solution to the flash of visual studio console program output window
- Flashback problem of output window of visual studio 2017 console program
- Three solutions to flash back of program running result box under vs
- The reasons and common solutions of vs flash back on the road of C + + Learning (with reasons attached)
- The solution of console flash in C + +
- How to solve the problem that the console window disappears in a flash after visual studio 2017 runs
- Solve the problem of flash back in VS2010
- Three methods of how to remove the flashback of running result box in VS
- Solution to the flashback of visual studio output window
- Solution to the problem of console flash in vs2017 runtime
- Problem solving – vs debugging window flash solution
- Solution to the flash of visual studio 2017 running program
- Some solutions to the problem of windows flashback after vs running
- The problem of window flash after C + + program is compiled and run
- VS2010 debugging window flash solution
- C + + uses system (“pause”) to pause black windows
- [vs console program flashback]