ios::basefield (0x70)
ios::dec (0x10) --default
integers treated as decimal
ios::oct (0x20)
integers treated as octal
ios::hex (0x40)
integers treated as hexadecimal
ios::showbase (0x80)
octal integers start with 0, hexadecimal integers start with 0x or 0X
ios::showpoint (0x100)
floating-point numbers output with a decimal point
ios::uppercase (0x200)
hexadecimal integers use uppercase A - E, floating-point numbers output as scientific notation use uppercase E
ios::showpos (0x400)
positive numbers start with "+", negative with "-"
ios::floatfield (0x1800)
ios::scientific (0x800)
floating-point numbers output as scientific notation
ios::fixed (0x1000)
floating-point numbers output as fixed-point notation
ios::unitbuf (0x2000)
flush the buffer after each output operation
ios::stdio (0x4000)
flush the buffer after each character output