cout question

I have a loop that caluates the new x and y coordinates of an object. I need/want to show these while the anmation is running.
I know I need to do a cout << x_coord << y_coord etc in the loop to this. How can I clean the output so the x_coor's are in nice neat column, the y_coords in an other etc.
Why, clever use of the \t character, of course!
cout << x_coord << '\t' << y_coord << '\n';

Try that!
That's what I thought and tried but it didn't work but I used " " . dummy I am thanks
Topic archived. No new replies allowed.