Having started developing in c++ again, I found my self writing a simple test harness as a console application, haven’t moved up to cppunit yet.
It dawned on me that it would be nice to clear the screen at the begining of the test execution. How to do this?
I found lots of references to using
system(“cls”);
but didn’t have any luck on my Debian Linux system getting this to work, a little more digging resulted in:
system(“clear”);
That worked, its amazing how much fades away or gets lost between major operating system hops.
