I\'ve looked everywhere for this function and cannot find the header files to make this work. It says clrscr() undeclared which brings me to the question. Is clrscr(); a fun
On Linux I always use:
void clrscr(void) { fprintf(stdout, "\033[2J"); // clean screen fprintf(stdout, "\033[1;1H"); // move cursor to the first line }