Which codes do I use so that the answer is not out of place?
I tried using \t and setw but it doesn't work :(

setw works fine without the need for '\t'. Note that setw is required prior to each item to be formatted.

e.g. cout << left << setw(12) << "item1" << setw(12) << "item2" << endl;

Wow it works, thanks. I totally forgot about the "left". :D