ios::fill

Syntax

char fill( char cFill );

char fill() const;

Parameters

cFill

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

Remarks

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.

See Also

ios setfill manipulator