C语言,从0开始数,永无停止语句
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
int main()
{
int a;
a=0;
while(a>=0)
{
system("cls"); //清屏语句
printf("%d",a);
Sleep (1000); //暂停语句
a=a+1;
}
system("pause");
return 0;
}