Is it possible to clear the screen in repl.it. I want to be able to clear the screen after the player has entered some input.
Yes! Import the library header file <stdlib.h> and use system("CLS") to clear the terminal.
<stdlib.h>
system("CLS")
Is it possible to clear the screen?
Is it possible to clear the screen in repl.it. I want to be able to clear the screen after the player has entered some input.
Yes! Import the library header file
<stdlib.h>
and usesystem("CLS")
to clear the terminal.