Right now I'm working on a simple C++ maze program and I want to clear the screen and redraw the maze every time the user makes a move. I know on Windows there is the system("cls") function (or something like that) that does this, but I couldn't find an equivalent that will work with my compiler on OS X. I tried clrscr(); but I got an error that it wasn't declared within my header file. Do I just need to include another header file, or is there a completely different function that does this?