Does anyone know of a header file for windows with a function that enables the execution of code once every specified number of milliseconds, something that can be used like this:
if ( delay(5) ){
// do something every 5 milliseconds
}
If it's in microseconds is even better.
If there is't one does anyone know how to make one knowing just the elipsed time since the program started?