1、
#include <conio.h>
clrscr();
conio.h不是C标准库中的头文件,在C standard library,ISO C 和POSIX标准中均没有定义。故此法大多不适用
2、
#include <stdlib.h>
system("clear");
相当于在终端执行clear命令
#include <conio.h>
clrscr();
conio.h不是C标准库中的头文件,在C standard library,ISO C 和POSIX标准中均没有定义。故此法大多不适用
2、
#include <stdlib.h>
system("clear");
相当于在终端执行clear命令