Hello,
I am trying to build a simple "stopwatch" timer in C, to be used as a Rubik's Cube timer.
I currently am using time.h, setting up start and stop time_t variables, and the enter key to start and stop the timer, giving the result as the difference between the two. I can post the code but I don't think that's necessary, because it works fine.
My question is how I can make it more precise. It currently only works to the nearest second, when I would like to have it to the nearest millisecond.
Everything I read tells me the most precise C can get is a second, but I find this hard to believe. Does anyone know of a way to do this or can point me in the right direction?
Thanks in advance!