I always see these "how do i clear the console screen" threads and i always see the "use system( ... )" replies. I dont know if this is standard but it works on all platforms ive tried.
Code:cout << "Foo\n" << "bar" << endl; ... cout << "\033c"; // clear the screen fflush(stdout); cout << "Bar\n" << "foo" << endl;