Very new at C++ and i know this should be simple but what is the easiest way of clearing a console screen?
Cheers.
Printable View
Very new at C++ and i know this should be simple but what is the easiest way of clearing a console screen?
Cheers.
Code:#include <cstdlib>
using namespace std;
// ...
system("cls");
Cheers that works just fine.
I seem to remember a function like clrscr() though from a few years ago, is that just not used anymore?
i think that is borland only.