1、C++ 、Qt計算時間的方法
參考鏈接:https://www.cnblogs.com/m-zhang-yang/p/9449017.html
https://blog.csdn.net/chy555chy/article/details/53405072
timeGetTime的精度爲ms級,必須添加Winmm.lib, 否則編譯報錯undefined reference;
timeGetTime可以使用GetTickCount代替(RTKLIB)
1、C++ 、Qt計算時間的方法
參考鏈接:https://www.cnblogs.com/m-zhang-yang/p/9449017.html
https://blog.csdn.net/chy555chy/article/details/53405072
timeGetTime的精度爲ms級,必須添加Winmm.lib, 否則編譯報錯undefined reference;
timeGetTime可以使用GetTickCount代替(RTKLIB)