Crashh
unread,Feb 23, 2012, 7:48:29 AM2/23/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bms-lug
Hey,
How do we clear the screen in mingw compiler? It may seem like a silly
question, but i'm a noob at programming and am unable to get this
right. I tried clrscr(), system("cls"), system("clear"). I also
googled and found this:
void ClrScr(void)
{
COORD a = {0,0};
DWORD nwrite;
FillConsoleOutputAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x07,
2000, a, &nwrite);
}
, which didn't work. Help would be much appreciated. Thanks!