The Microsoft Input/Output Stream Classes (iostream.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
setw
◄ios►                                         ◄Up► ◄Contents► ◄Index► ◄Back►
──The Microsoft iostream Classes────────────────────────────────────────────
 
  SMANIP( int ) setw( int nw );
 
  #include <iomanip.h>
 
  Parameter   Description
 
  <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.
 
 
                                     -♦-