home *** CD-ROM | disk | FTP | other *** search
- /* FORMIOC.CPP: **IOS Member Functions**
- */
-
- #include <iostream.h>
-
- int main()
- {
- int i = 11;
-
- cout.width( 10 );
- cout.fill( '-' );
- cout.setf( ios::left, ios::adjustfield );
- cout.setf( ios::hex, ios::basefield );
- cout.setf( ios::uppercase );
- cout << i << "\n";
- return 0;
- }
-