12345678910111213141516171819
cout << "\n\n\tTic Tac Toe\n\n"; cout << endl; cout << " | | " << endl; cout << " " << board[0] << " | " << board[1] << " | " << board[2] << endl; cout << "_____|_____|_____" << endl; cout << " | | " << endl; cout << " " << board[3] << " | " << board[4] << " | " << board[5] << endl; cout << "_____|_____|_____" << endl; cout << " | | " << endl; cout << " " << board[6] << " | " << board[7] << " | " << board[8] << endl; cout << " | | " << endl << endl;
#include <sstream>
my_stringstream.str()