你对照一下
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
int main()
{
int a,b;
system("color f5");
a=0;
while(a<=100)
{
system("cls");
b=1;
while(b<=a)
{
printf(" ");
b=b+1;
}
printf(" o\n");
b=1;
while(b<=a)
{
printf(" ");
b=b+1;
}
b=1;
printf("<H>\n");
while(b<=a)
{
printf(" ");
b=b+1;
}
printf("I I\n");
Sleep(100);
a=a+1;
}
system("pause");
return 0;
}
|