Hello all, I was wondering if anybody could help me with timing in C.
Im trying to make a solar system program, and putting aside all the OpenGL worries I have, Ive come stuck on trying to get a function to execute periodically without fail, ie. every second, minute or how ever many times per second/usec it will execute. Ive see functions such as sleep() and usleep(), but they delay things from happening... If anybody could help me id be very thankfull.