I was wondering how you can use a time function to delay say a printing of a text with a few seconds?
I was wondering how you can use a time function to delay say a printing of a text with a few seconds?
Although you could probably hack your own using the functions in time.h and a loop, there are better functions for this that, unfortunately, are OS-dependant. Assuming you're using windows, there's this: Sleep Function (Windows). Similar functions will be found in *nix operating systems.
Thank you.