Windows.h 庫
-
GetTickCount() 傳回值類型:DWORD 紀錄了作業系統從啟動所經過的毫秒數
‘’’
DWORD start_time = GetTickCount();
{要計時的程式 }
DWORD run_time = GetTickCount() - start_time;
‘’’
GetTickCount() 傳回值類型:DWORD 紀錄了作業系統從啟動所經過的毫秒數
‘’’
DWORD start_time = GetTickCount();
{要計時的程式 }
DWORD run_time = GetTickCount() - start_time;
‘’’