After completing black screen will appear ,what to do with that? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

After completing black screen will appear ,what to do with that?

13th Nov 2016, 11:00 AM
Alok Shinde
Alok Shinde - avatar
9 Answers
+ 2
This is expected since the code runs on the console
15th Nov 2016, 6:10 AM
Ruth Kabura
Ruth Kabura - avatar
+ 1
Rishab is right..getch will throw you out after the output...had generated...
16th Nov 2016, 1:33 PM
tushar Srivastava
tushar Srivastava - avatar
0
cout
13th Nov 2016, 12:51 PM
Shubham Raj
Shubham Raj - avatar
0
Include conio.h header file and use the function Getch(); as last line and then }
13th Nov 2016, 2:45 PM
Rishabh rick
Rishabh rick - avatar
0
this is your output alok
13th Nov 2016, 6:54 PM
nishant Sharma
0
you can add system("PAUSE");
13th Nov 2016, 10:32 PM
Franky BrainBox
Franky BrainBox - avatar
0
code run console
15th Nov 2016, 10:02 PM
suliman
0
cout definitely
18th Nov 2016, 12:30 AM
shashi kant mishra
0
to take the output
19th Nov 2016, 10:37 AM
Vaibhav Kumar
Vaibhav Kumar - avatar