|
本帖最后由 漫步者_JRUul 于 2015-5-5 16:29 编辑
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>//这里注意
int main(){
int a;
a=60;
system("color 0a");
while(a>=0)
{
system("cls");
printf("%d\n",a);
Sleep(1000);//大写的S
a=a-1;
}
printf("60秒到\n");
system("pause");
return 0;
}
|
|