Created
December 11, 2022 01:26
-
-
Save InputBlackBoxOutput/0152852b46987d8bf38c77bbbd94cf2a to your computer and use it in GitHub Desktop.
A workaroud to use clear as a command to clear Command Prompt
This file contains hidden or 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
// A workaroud to use clear as a command to clear Command Prompt | |
// Step 1: g++ clear.cpp -o clear.exe | |
// Step 2: Add clear.exe directory to PATH enviroment variable | |
#include<cstdlib> | |
int main() { | |
system("cls"); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment