Skip to content

Instantly share code, notes, and snippets.

@KingCprey
Created August 22, 2016 10:10
Show Gist options
  • Save KingCprey/42a1e9200e56dec733ca4649f332c861 to your computer and use it in GitHub Desktop.
Save KingCprey/42a1e9200e56dec733ca4649f332c861 to your computer and use it in GitHub Desktop.
C++ Clear Screen (tested on Ubuntu, apparently works on Winders)
void clear(){
printf("\033[2J\033[1;1H");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment