home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Supreme Volume 6 #1
/
swsii.zip
/
swsii
/
099
/
IOSTREAM.ZIP
/
EX_O51.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1993-01-07
|
431b
|
25 lines
// EXAMPLE OUTPUT-51
// HOW TO SET THE FILL CHARACTER
#include <header.h>
int main()
{
const char quote = '\'' ;
char old_fill = cout.fill('*') ;
cout << "Old fill character is "
<< quote
<< old_fill
<< quote
<< '\n' ;
cout << "It was changed to "
<< quote
<< cout.fill()
<< quote
<< '\n' ;
return 0 ;
}