timeGetTime
#include"windows.h"#include<stdio.h>
#include<iostream.h>
void main()
{
DWORD t1,t2;
t1=timeGetTime();
Sleep(1000);
t2=timeGetTime();
printf("begin:%n\n",t1);
printf("end:%n\n",t2);
printf("lasting:%n\n",t2-t1);
}
why it error ?can anyone help me!thank you !