    C++__________________________________705

ios:: dec         ,  -
 dec

ios::oct          ,  -
 oct

ios::hex         ,  -
 hex

ios::showbase     

ios::showpoint       


ios:: uppercase          -
   

ios::showpos     +   

ios:: scientific      
ios::fived           

     flags, setf  unsetf,  -
  setw, setiosflags  resetiosflags.

 flags      .    ,
   ,    
(|)     long,    .  flags -
   long,    .  -
    ,      
flags         .

 setf     setiosflags  -
 ,      , 
 |,         
 . , 

setiosflags(ios::showpos | ios::showpoint)

  ios::showpos  ios::showpoint.

  resetiosflags   unsetf ,  ,
   .    -
  ,      inclu-
de <iomanip.h>.

      .

,   showpoint:

outfile  1.  " "  1.1  " " 

setiosflags(ios::showpoint)  1.  " "  1.1  endl;

 :

1 1.1 1.00000 1.10000
,   right, left  internal:

outfile  setw(6)  -1.1  endl

 setw(6)  resetiosflags(ios::right)

 setiosflags(ios::left)  -1.1  endl

 setw(6)  resetiosflags(ios::left)

 setiosflags(ios::internal)  -1.1  endl;

23 .764