I am writing a program that will need to measure time in minutes.
To be precise, wait 10 minutes, execute some code, wait 2 minutes, execute more code and repeat this time 5 times (no one seems to try what I do I am doing this?) And I'm thinking how to break.
Thanks in advance!
Oh, and by the way, I'm on Mac.
#include & lt; Stdio.h & gt; # Include & lt; Unistd.h & gt; Sleep (600); // sleep 10 minutes sleep (120); // sleep two minutes
Or if he is not working, he will get sleep, who argues in the form of a mile which I believe. (1 second = 1000)
Comments
Post a Comment