home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Supreme Volume 6 #1
/
swsii.zip
/
swsii
/
099
/
IOSTREAM.ZIP
/
EX_O61.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1993-01-07
|
420b
|
21 lines
// EXAMPLE OUTPUT-61
// HOW TO DO INTERNAL JUSTIFICATION
#include <header.h>
int main()
{
cout.setf(ios::showbase) ;
cout.fill('=') ;
cout.setf(ios::internal , ios::adjustfield) ;
cout.width(10) ;
cout.setf(ios::hex , ios::basefield) ;
cout << 65 << '\n' ;
cout.setf(ios::left , ios::adjustfield) ;
cout.width(10) ;
cout << 65 << '\n' ;
return 0 ;
}