+ 1

How do I make the window stay long enough for me to read the output??

When I compile and run my programs in Dev C++, the output window opens and shows the output. Then instanlty the window flashes and disappears. How do I make the window stay long enough for me to read the output??

10th Mar 2017, 3:01 PM
Dattaraj Ghanwatkar
Dattaraj Ghanwatkar - avatar
2 ответов
+ 8
if Dev c++ supports getch() from conio.h use it. Or a better way add cin>>var; at end of your code until you don't enter something output screen will remain there.
10th Mar 2017, 3:06 PM
Megatron
Megatron - avatar
0
Thanks..
10th Mar 2017, 3:12 PM
Dattaraj Ghanwatkar
Dattaraj Ghanwatkar - avatar