I believe you use it like this:

don't forget to include <iomanip>
cout << "Some text" << setwidth(5) << "Another text" << setwidth(5) << "Last text" << endl;

It adds some spacing. You may have to experiment with how long it should be.