看了啊哈c 自己用while循环靠感觉编写的
只看了标题 并没有看作者怎么写 算是原创吧
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include <stdlib.h>
#include <windows.h>
int main()
{
int a, b;
a = 1;
b = 0;
while(a < 100)
{
printf("H");
Sleep(1000);
system("cls");
a ++;
b = 1;
while(b < a )
{
printf(" ");
b ++;
}
}
{
int a, b;
a = 1;
b = 0;
while(a < 100)
{
printf("H");
Sleep(1000);
system("cls");
a ++;
b = 1;
while(b < a )
{
printf(" ");
b ++;
}
}
return 0;
}
}