endLine manipulator (using escape sequence \n and the flush member function)
#include <iostream> using std::ostream; using std::cout; using std::flush; ostream& endLine( ostream& output ) { return output << '\n' << flush; } // end function endLine int main() { cout << "T" << endLine << endLine << endLine << ".........."; return 0; }