1, return 0; Before adding getchar ();
(getchar (); Char a=getchar(); char a=getchar(); . But if you have an input statement, you need to add more getchar(); .
p>
(getchar (); Char a=getchar(); char a=getchar(); . But if you have an input statement, you need to add more getchar(); .
p>
p>
p>
p>
p>
stdlib.h> , in return 0; Before adding system (” pause “); Let it press any will continue.
Read More:
- C + + uses system (“pause”) to pause black windows
- C + + pauses the black window system (“pause”); (get ch(), getchar(), system (pause)’s connection and difference
- The reasons and common solutions of vs flash back on the road of C + + Learning (with reasons attached)
- Solution of vs program flashback problem
- Flash back after vs compiler running, processing method
- Three solutions to flash back of program running result box under vs
- use cin.get () instead of system (“pause”) to avoid the flash of C + + programs
- Causes and solutions of black frame flashback after debugging visual studio 2017
- The solution of flashing back after the end of console program running
- C language — to solve the problem of program flashback when programming (in VS)
- The solution of console flash in C + +
- Solution to the flashback of visual studio output window
- Three methods of how to remove the flashback of running result box in VS
- Solution for flash back of vs2015 running interface
- VS2010 debugging window flash solution
- Two lines of code to solve your vs flashback problem
- Solution to the flash of visual studio 2017 running program
- Three solutions to command line flashback in VS
- Some solutions to the problem of windows flashback after vs running
- Flashback problem of output window of visual studio 2017 console program