If you compile successfully in the console program, flash back after display, you can not see the result of the situation, may be due to compiler configuration problems.
Solution:
The
Solution:
The
- project – & gt; Property – & gt; Configure properties ->; The linker – & gt; System – & gt; Subsystem – & gt; SUBSYSTEM:CONSOLE adds “/SUBSYSTEM:CONSOLE” link option. Then start execution (without debugging).
> You can also keep a console application on the console interface by using getchar or system (” pause “) at the end of the program. Do not append the final return statement. If not, exit. This will display “Press any key to continue..” or “Press any key to continue…” when running to this point. .
Read More:
- Solution to the flash of visual studio console program output window
- Flashback problem of output window of visual studio 2017 console program
- Solution of vs program flashback problem
- The reasons and common solutions of vs flash back on the road of C + + Learning (with reasons attached)
- Some solutions to the problem of windows flashback after vs running
- Three solutions to flash back of program running result box under vs
- The perfect solution of VS2010 console program running in a flash
- Causes and solutions of black frame flashback after debugging visual studio 2017
- [vs console program flashback]
- Solution to the flashback of visual studio output window
- C + + uses system (“pause”) to pause black windows
- C language — to solve the problem of program flashback when programming (in VS)
- Solution for flash back of vs2015 running interface
- Why does the result screen flash when visual studio runs the program?
- The solution of console flash in C + +
- use cin.get () instead of system (“pause”) to avoid the flash of C + + programs
- Three methods of how to remove the flashback of running result box in VS
- How to solve the problem that the console window disappears in a flash after visual studio 2017 runs
- C + + pauses the black window system (“pause”); (get ch(), getchar(), system (pause)’s connection and difference
- Solution to the flash of running result of dev C / C + +