c++计算程序执行时间

DWORD start_time=GetTickCount();






DWORD end_time=GetTickCount();


CString s;
s.Format(_T("%d"),end_time- start_time );






AfxMessageBox(s);

你可能感兴趣的:(C++)