ho provato cosi:

#ifdef WIN32
system("cls");
#endif
#ifdef LINUX
system("clear");
#endif

e sembra funzionare, ma si usa veramente cosi?