how to have a timer
Jul 19, 2015 at 12:24am Jul 19, 2015 at 12:24am UTC
i am making something for people who don't know how to make c++ code (saying text) so what is the code for a 10 second delay till the screen closes like
Jul 19, 2015 at 12:42am Jul 19, 2015 at 12:42am UTC
Jul 19, 2015 at 1:24am Jul 19, 2015 at 1:24am UTC
Jul 19, 2015 at 1:38am Jul 19, 2015 at 1:38am UTC
An easy way to create a delay could be to just run a for-loop incrementing your loop control variable to a very high number.
Something like this....
1 2 3 4 5 6 7
//stuff
for (long int i = 0; i < 100000; i++)
//stuff
Topic archived. No new replies allowed.