0
Time
plz help......when I run a program ....and get the answer. .we have to press key to go back ....if there have any function ...commands which can exit the program after a certain time like (10sec) automaticly from the output screen
3 Answers
+ 2
use the <iostream> header
put the following where you want it to pause
cin.get();
+ 2
Or for a certain amount of time instead of input, try chrono or ctime. Both for timers.
0
can you gyz plz give me any examples