setw

SMANIP( int ) setw( int nw );

#include <iomanip.h>

Parameter

nw

The field width in characters.

Remarks

This parameterized manipulator sets the stream’s internal field width parameter. See the width member function for more information. This setting remains in effect only for the next insertion.

ios OverviewAbstract Stream Base Class