cout and '\t'

i'm printing out a bunch of values of differing length to the screen but want it to look nice.
i can use -- cout << '\t' << values << endl; BUT the tab distance is too long.

is there a way to change that distance?
or is there another way to achieve my goal?


thanks in advance :)


ps, using c++
See decision here. You can use spaces instead of tabs.
http://cplusplus.com/reference/iostream/ios_base/width/
Topic archived. No new replies allowed.