My computer's output window doesn't show output it is just finished it so fast.. How i fix it? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

My computer's output window doesn't show output it is just finished it so fast.. How i fix it?

Compiler's issue

2nd Jun 2017, 12:27 PM
Vinit Gupta
Vinit Gupta - avatar
3 Answers
+ 4
Please show your code.
2nd Jun 2017, 2:30 PM
Manual
Manual - avatar
+ 3
Run your program from within the command prompt.
2nd Jun 2017, 12:42 PM
seamiki
seamiki - avatar
+ 1
That's not any issue. Just include the header file:- #include<conio.h> And then at the end of the program just before the closing curly bracket of void main() write getch(); Example:- #include<conio.h> #include<> \\All other required header files as required in your program void main() { Your Program Is Written Here getch(); } This will solve your problem...
2nd Jun 2017, 9:41 PM
Soumyadeep Mondal
Soumyadeep Mondal - avatar