I need a function that can clear my console screen on this website. I do know the method of printing 50 lines, but that is not what I am looking for.
Here
void clear() { std::cout << "\033[2J\033[1;1H"; }
How to clear screen in repl.it C++
I need a function that can clear my console screen on this website. I do know the method of printing 50 lines, but that is not what I am looking for.
Here