I need help with a text output

I need to make column titles but they are multiple lines

for example:

Height          starting
  in             weight
inches           in lbs

I know about the setw() commands i was just wondering if it was possible to create the column titles with a simpler code.
Just specify them with fixed strings. You only need setw() and the like when printing the stuff underneath.
Thanks, I ended up just doing something along the lines of
cout << setw(10) << left << "Height" << "Starting" << endl;
cout << setw(10) << left << "in" << "weight" << endl;
cout << setw(10) << left << "inches" << "in lbs" << endl;
Topic archived. No new replies allowed.