MAINLY IN GCC , THE FUNCTIONS LIKE CLRSCR() wont work ... because i too had this problem,,,,, use system("cls"); function which will be in stdlib.h.... this function is nothing but functions connecting directly to DOS.....