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

20th Jan 2018, 8:50 PM
Kallyan Singha
Kallyan Singha - avatar
3 Respuestas
+ 2
use the <iostream> header put the following where you want it to pause cin.get();
20th Jan 2018, 10:12 PM
Logomonic Learning
Logomonic Learning - avatar
+ 2
Or for a certain amount of time instead of input, try chrono or ctime. Both for timers.
21st Jan 2018, 2:32 AM
Jacob Pembleton
Jacob Pembleton - avatar
0
can you gyz plz give me any examples
21st Jan 2018, 4:16 AM
Kallyan Singha
Kallyan Singha - avatar