sleep函数
#include <stdio.h>#include <dos.h>
main()
{
printf("About to sleep for 5 seconds\n");
sleep(50);
printf("Awake\n");
}
为什么编译出现error C2065: 'sleep' : undeclared identifier
2010-04-10 10:39
2010-04-10 11:08
2010-04-10 11:13