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 Unix-like systems you can use VT100 escape codes.
std::cout << "\033[2J" << std::flush;
See http://www.termsys.demon.co.uk/vtansi.htm