0

After installed turbo "C and c++," and when run my program it is not run skip out in code.finally it does not show my result.

w7 32 bi of os is in my

30th Jun 2017, 1:02 PM
vikas
vikas - avatar
4 Antworten
+ 2
At the end of your main function, you can call std::getchar(); This will get a single character from stdin, thus giving you the "press any key to continue" sort of behavior (if you actually want a "press any key" message, you'll have to print one yourself). You need to #include <cstdio> for getchar. quoted from https://cheeze.club/8tjs
30th Jun 2017, 1:04 PM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
0
no my q related to c program. bcz turbo c and c++ compiler compile my program but not run instead of correct my program it once blink and then it after return code form
30th Jun 2017, 3:28 PM
vikas
vikas - avatar
0
w7 32 bit is my os
30th Jun 2017, 3:28 PM
vikas
vikas - avatar