|
ios::fillpublic member function
char fill ( ) const; char fill ( char fillch ); Get/set the fill character The first function version returns the fill character.The second function version sets fillch as the new fill character and returns the fill character previously set. The fill character is the character used by output insertion functions to fill spaces when padding results to the field width. The parameterized manipulator setfill can also be used to set the fill character. Parameters
Return ValueThe value of the fill character before the call.Example
The output of this example is something similar to:
Basic template member declaration( basic_ios<charT,traits> )
See also
|