New boy -easy question - doing a tutorial and the compile and run work but the only time I see the program partially running is when I put in a cin - I have looked but I cannot find how to put in a pause and allow me to see the program on the screen - presently it just goes too fast to see the output.
Thanks
AllenN
0
Newbie Poster
Recommended Answers
Jump to PostIT DEPENDS UPON WHICH C++ U R USING
IF U R USING TURBO C++ THEN THE
getch();
COMMAND WOULD HELP U TO HOLD THE SCREEN TILL U PRESS A KEYFOR DEV C++ I THINK IT IS
system("pause")
but i`m not sure about it
try it.
good luck
All 5 Replies
Dave Sinkula
2,398
long time no c
Team Colleague
varunrathi
0
Light Poster
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
Dave Sinkula
2,398
long time no c
Team Colleague
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.