+ 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??
2 Réponses
+ 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.
0
Thanks..