This is a problem from Deitel & Deitel's C++ How to Program(pg. 386,prblm. 5.17). It is a tortoise/Hare race simulation. In the beginning of the program description it states, "There is a clock that ticks once per second. With each tick of the clock, your program should adjust the position of the animals according....".
My question is how do you set up a loop that executes once per second?
This hasn't been taught in the book and any examples haven't been given so I'm stuck at the beginning.