A change in base applies to the processing of all integer numbers until the flags are reset. By
default, decimal format is used. There is no support for binary notation. However, you can read and
write integral values in binary by using class bitset. See Section 12.5.1, page 652, for details.
If none of the base flags is set, output uses a decimal base. If more than one flag is set, decimal
is used as the base.