Sup*_*ing 4 c++ winapi
如何从TickCounts转换为毫秒?
这是我用过的:
long int before = GetTickCount(); long int after = GetTickCount();
我希望它在几秒钟内有所不同.
Pri*_*lia 13
int seconds = (after - before) /1000;
小智 6
为了更精确,还有 QueryPerformanceCounter()
QueryPerformanceCounter()
归档时间:
15 年,9 月 前
查看次数:
13991 次
最近记录:
9 年,9 月 前