home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH11 / A1122131.TXT < prev    next >
Encoding:
Text File  |  1993-10-22  |  450 b   |  8 lines

  1. When you specify a field width that causes certain values to be
  2. padded, the padding character is a blank by default.  You can
  3. change it to another character using either the fill() function or
  4. the setfill() manipulator.  This call to the fill() function
  5. specifies that the fill character should be an ampersand.  You can
  6. see in the sample output for the program that the padding before
  7. the first output value is ampersands rather than blanks.
  8.