标签:std turn window print style span sleep 代码 return
1 #include <stdio.h> 2 #include <windows.h> 3 int main() 4 { 5 int a=0,b=1; 6 system("color 79"); 7 while(a<=1000) 8 { 9 b=0; 10 system("cls"); 11 while(b<=a) 12 { 13 printf(" "); 14 b=b+1; 15 } 16 Sleep(100); 17 printf("OK"); 18 a=a+1; 19 } 20 return 0; 21 }
标签:std turn window print style span sleep 代码 return
原文地址:https://www.cnblogs.com/gougouwang/p/11400614.html