if for windows, use
system("cls");

but plz include the #windows.h header filez firs