10.03.2010, 11:20
Why GetTickCount()? The ticks returned by that function are not equal to miliseconds, it fully depends on the speed of the host computer.
I'd just use gettime(), it returns seconds so it's easier to handle aswell as you don't need to deal with miliseconds.
I'd just use gettime(), it returns seconds so it's easier to handle aswell as you don't need to deal with miliseconds.