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:
- Solution of vs program flashback problem
- The solution of flashing back after the end of console program running
- Problem solving – vs debugging window flash solution
- [vs console program flashback]
- Why does the result screen flash when visual studio runs the program?
- Some solutions to the problem of windows flashback after vs running
- Solution to the flashback of visual studio output window
- Three methods of how to remove the flashback of running result box in VS
- Solve the problem of flash back in VS2010
- The perfect solution of VS2010 console program running in a flash
- Solution to flash back of visual studio 2017 running program
- 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
- Three solutions to flash back of program running result box under vs
- VS2010 debugging window flash solution
- In vs programming, the code of Ctrl + F5 is flashback
- Solution to the problem of console flash in vs2017 runtime
- Solution to the flash of visual studio console program output window
- Solve the problem of visual studio console flashback
- Vs output flashback