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:
- Three solutions to flash back of program running result box under vs
- The problem of C + + compile result window flash by
- The solution of console flash in C + +
- C language program running results flash back how to do
- use cin.get () instead of system (“pause”) to avoid the flash of C + + programs
- The reasons and common solutions of vs flash back on the road of C + + Learning (with reasons attached)
- Solution to the flash of visual studio 2017 running program
- Error in dev C + + running pointer
- Solution for flash back of vs2015 running interface
- The solution to the black window flash of running program on Visual Studio
- Solution to dev C + + error [error] LD returned 1 exit status
- The perfect solution of VS2010 console program running in a flash
- The problem of running result window flash of vs2015
- error C2057: expected constant expression (Can the size of an array in C language be defined when the program is running?)
- Three methods of how to remove the flashback of running result box in VS
- Flash back after vs compiler running, processing method
- To solve the running error of eclipse for C / C + +: launch failed binary not found
- Why does the result screen flash when visual studio runs the program?
- C + + uses system (“pause”) to pause black windows
- The problem of flash back by pressing enter window when debugging or executing program in Visual Studio C