Hello ALL
my first post!
hope get a quick reply.
I am doing a for loop to display a array of strings .
my problem is formating and organizing the display .
i use cout << and setw() , but the problem is : the names is different lengths
is there a way to start the second cout on a specifec point like the first name take from 0 to 40
and last name from 50 to 70 ,
first name ( some empty space here ) last name ( some empty space here ) other string
( some empty space here )


thx in advance

how about this: cout << setw(40) << left << "John" << setw(40) << "Smith" << "\n";