EnderUNIX Team.


EnderUNIX tips

Mail to My Friend , Home Page

[ C/C++ ]

"How to make clrscr() function works on C/C++" - Bākır EMRE - (2007-09-10 20:32:33)   [27011]

if you want to clear console screen you add this define your code

#define clrscr() printf("\e[1;1H\e[2J")



and call clrscr() your code.

main()
{

printf("This screen will clean in 1 second");
sleep(1);
clrscr();
}


Mail to My Friend , Home Page