TC中怎么清屏啊?
来源:百度知道 编辑:UC知道 时间:2024/06/30 15:49:27
#include<conio.h>
#include<stdlib.h>
#include<stdio.h>
main()
{
printf("Welcome to my code.\n");
system("cls");
printf("The Screen has been clean.\n");
}
/*cls就是clean screen的缩写*/
clear
函数scrcls()
要不就是cls()
别忘了头函数,标准io