Is there a C command to clear the screen, like the DOS "CLS"?
Is there a C command to clear the screen, like the DOS "CLS"?
if u are in unix envirenment u can try the following
or include the file curses.h and u can use the function clear(); to clear the screenCode:system("clear");
under DOS u can use clrscr(); or system("cls"); to achieve the same.
>>system("clear");
And the FAQ explains just why you shouldn't do that.
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]