【发布时间】:2021-06-26 11:27:04
【问题描述】:
有没有办法调用loading_screen()然后在三秒后清屏然后进入程序??
#include <stdio.h>
void loading_screen() {
printf("\n*\t *\t *\t *\t *\t *\t *\t *\n* Welcome to your blah blah! *\n*\t *\t *\t *\t *\t *\t *\t *\n\n");
}
void starting_screen() {
printf("1. add new recipe\n");
printf("2. search for recipe\n");
printf("3. delete recipe\n");
}
int main(int argc, char *argv[]) {
loading_screen();
starting_screen();
return 0;
}
【问题讨论】:
-
你的平台是什么?
-
你想让它看起来像一个“真正的”程序吗? “真正的”程序是如此之快,他们不需要加载屏幕!