D.2   iomanip.h__________________________409

     ,    ,    -
 .

 dec, hex  oct     
 .     10.  
       .

  manip.cpp

//    - 
ttinclude <iostream.h>

int main()

{

int i = 10, j = 16, k = 24;

cout  i  '\t'  j  '\t'  k  endl;

cout  oct  i  '\t'  j  '\t'  k  endl;

cout  hex  i  '\t'  j  '\t'  k  endl;

cout  " 3 ,  11 11 12"  endl;

cin  i  hex  j  k;

coufc  dec  i  '\t'  j  '\t'  k  endl;

   :

10   16  24

12   20   30

    10   18

  ,  11 11 12

11   17   298

,        11  17,   ,
  11     ,   16+1.

      iostream.h.  -
   iomanip.h. , setw(int width)  -
,         -
 -  ,   . 
     ,  
   .

 -

		
endl	   	iostream.h
	 	
ends	 '\0'  	iostream.h
	 	
flush	  	iostream.h
dec		iostream.h
hex		iostream.h
  . .