如何将 TickCounts 转换为毫秒?
这是我用的:
long int before = GetTickCount();
long int after = GetTickCount();
我想要它在几秒钟内的差异。
最佳答案
int seconds = (after - before) /1000;
关于c++ - C++ 中的滴答计数和毫秒,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1959102/