1 #include <windows.h> 2 #include <iostream> 3 4 #pragma comment( lib,"winmm.lib" ) 5 6 int main() 7 { 8 DWORD msec = timeGetTime(); 9 std::cout << "msec = " << msec << std::endl; 10 11 return 0; 12 }
1 #include <windows.h> 2 #include <iostream> 3 4 #pragma comment( lib,"winmm.lib" ) 5 6 int main() 7 { 8 DWORD msec = timeGetTime(); 9 std::cout << "msec = " << msec << std::endl; 10 11 return 0; 12 }