ret manipulator (using escape sequence \r)
#include <iostream> using std::ostream; using std::cout; using std::flush; ostream& ret( ostream& output ) { return output << '\r'; } int main() { cout << ret << "-----"; return 0; }