home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Supreme Volume 6 #1
/
swsii.zip
/
swsii
/
099
/
IOSTREAM.ZIP
/
EX_O14.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1993-01-07
|
293b
|
18 lines
// EXAMPLE OUTPUT-14
// TEST THE flags MEMBER FUNCTION
#include <header.h>
int main()
{
long value = cout.flags(0) ;
cout.setf(ios::hex , ios::basefield) ;
cout << "value is "
<< value
<< '\n' ;
FORMATFLAGS(cout) ;
return 0 ;
}