please include stdlib.h file and then call system("cls") and enjoy.
#include<stdlib .h>

system("cls");