home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Supreme Volume 6 #1
/
swsii.zip
/
swsii
/
099
/
IOSTREAM.ZIP
/
EX_M12.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1993-01-07
|
324b
|
20 lines
// EXAMPLE MANIP-12
// SETTING THE STREAM STATES USING
// MANIPULATORS
#include <header.h>
int main()
{
cout << "Input a hex number: " ;
int number ;
cin >> hex >> number ;
cout << "The number in octal is "
<< oct
<< number
<< endl ;
return 0 ;
}