I read about how you can use the for loop to delay a program's execution,but it's not really portable because the processors might run them differently based on their performance.
C's in built sleep() function was also said to not be portable because quote from a book:
"Note that in some implementations of GCC, the sleep() function apparently uses millisec..onds, not seconds, as its argument."
So that leave me with using the computers internal clock to time a delay,which the book also suggested,but didn't explain.
So my question is,where can I found out more about it,like what files I have to include for it to work etc.?