setw

Syntax

SMANIP( int ) setw( int nw );

#include <iomanip.h>

Parameters

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.