Anonymous user
Terminal control/Clear the screen: Difference between revisions
Terminal control/Clear the screen (view source)
Revision as of 02:03, 14 January 2013
, 11 years ago→{{header|C}}
No edit summary |
|||
Line 53:
printf("%c[2J",27);
}</lang>
Here is the cheaty way no one likes
only works on windows
<lang C>
#include <stdio.h>
#include <stdlib.h>
void main()
{
printf ("clearing screen");
getchar();
System("cls");
}
=={{header|C sharp|C#}}==
|