Manipulators

ios Manipulators

dec Causes the interpretation of subsequent fields in decimal format (the default mode).  
hex Causes the interpretation of subsequent fields in hexadecimal format.  
oct Causes the interpretation of subsequent fields in octal format.  
binary Sets the stream's mode to binary (stream must have an associated filebuf buffer).  
text Sets the stream's mode to text—the default mode (stream must have an associated filebuf buffer).  

Parameterized Manipulators

(#include <iomanip.h> required)

setiosflags Sets the stream's format flags.  
resetiosflags Resets the stream's format flags.  
setfill Sets the stream's fill character.  
setprecision Sets the stream's floating-point display precision.  
setw Sets the stream's field width (for the next field only).