[求助]关于‘clrscr'
求助各大虾我用C-FREE编译下面函数时提示2个错误是undefined reference 'clrscr',不知道错误在哪呀,是不是我的头文件里没有此函数?
#include <stdio.h>
#include <conio.h>
int main(void)
{
int i;
clrscr();
for (i = 0; i < 20; i++)
cprintf("%d\r\n", i);
cprintf("\r\nPress any key to clear screen");
getch();
clrscr();
cprintf("The screen has been cleared!");
getch();
return 0;
}