+ 1
Using <ctime> in cpp : Have you got the same output ?
2 Antworten
+ 8
Same output for me. It is crucial to take note that SL compiler doesn't measure ticks really well, when compared to desktop compilers. (I'm not sure if it's a compiler issue, may be due to the environment or interface).
+ 1
@Hastsy Rei If I want to use this sleep function in my program, do i need to first measure the eventualy spread of time of the compiler ? And then take it in charge in the function (time(0) < end - spread).
EDIT (i figure out it doesn't work...)