Created
August 22, 2016 10:10
-
-
Save KingCprey/42a1e9200e56dec733ca4649f332c861 to your computer and use it in GitHub Desktop.
C++ Clear Screen (tested on Ubuntu, apparently works on Winders)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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