if u r developing a win32 console app then simply include conio.h n use clrscr() in ur function.
#include <conio.h>
void main(void)
{
printf("hi world!!!" // prints the str on console
getch(); // pauses until u press a key
clrscr(); // not to mention what it does
getch();
}
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.