I am reading the How to program in C book by Deitel, and at the end of chapter 7, we are supposed to make a program (the source code is not given) that simulates a race between a rabbit and a turtle.
It says that the animals are going to move through the race, every second. This means that I am goint to have either a function that is executed every second. I know I will have to use time.h, but how do I go about doing this?
Thanks.