1. Set breakpoint
Second, the system (” pause “)
(1) in the return 0;
stem ("pause"); code>.
② Not using turn 0;
stem ("pause"); code>;
note: in the ACM or leetcode upload code to join this sentence complains;
3. Select the console program when creating a new project
If an empty project is selected, there will be an automatic exit problem.
Change the project configuration properties
opens the project properties and changes the subsystem to the console. (essentially the same as solution 3)
Read More:
- The problem of flash back by pressing enter window when debugging or executing program in Visual Studio C
- Causes and solutions of black frame flashback after debugging visual studio 2017
- Solution to the flash of visual studio 2017 running program
- Why does the result screen flash when visual studio runs the program?
- Solution to flash back of visual studio 2017 running program
- Solve the problem of “Visual Studio debugging flash back”
- Flash back of running program in Visual Studio 2017
- Flashback problem of output window of visual studio 2017 console program
- Solution to the flash of visual studio console program output window
- Solution of command line window flashback when visual studio runs C + + program
- Visual studio console program output window flashed by
- The solution to the black window flash of running program on Visual Studio
- The solution of windows not flashing back when visual studio console program is running
- Visual studio 2017, OpenGL program running prompt glut32.dll missing solution
- Python program exit: OS_ Exit() and sys.exit ()
- Solution to the flashback of visual studio output window
- Detailed steps for installing Visual Studio 2010 + Intel parallel studio Xe 2013 and configuring mpich2
- Solve the problem of visual studio console flashback
- How to solve the problem that the console window disappears in a flash after visual studio 2017 runs
- Flash back when compiling Visual Studio