ios::fill

char fill( char cFill );

char fill() const;

Return Value

The first overloaded function sets the stream’s internal fill character variable to cFill and returns the previous value. The default fill character is a space.

The second fill function returns the stream’s fill character.

Parameter

cFill

The new fill character to be used as padding between fields.

ios OverviewAbstract Stream Base Class

See Also   ios setfill manipulator