void init()
{
int i, j;
for (i = 0; i <= 100; i++)
{
system("cls");
printf("\n\n\n\n\n\n\t\t\t ---=欢迎进入通讯录系统=---\n\t\t\t\t\t嵌入式SQ1807班\n\t\t\t\t\t 宋强\n");
if (i != 100)
{
printf("\t\t\t\t程序载入中");
for (j = 1; j <= i % 10; j++)
printf(".");
}
printf("\n\n\n\n");
if (i != 5000)
{
printf("\t\t\t\t %%%d \n\n\n",i );
}
else
{
printf("\t\t\t\t完成!!!\n\n\n");
}
printf ("\t\t\t ");
for (j = 1; j <= i / 10; j++)
printf("●");
for (j = 1; j <= 10 - i / 10; j++)
printf("○");
}
printf("\n");
}
运行如下效果:
更多推荐
炫酷代码
发布评论