8/8 Is there any way to duplicate the %i scanf conversion specifier using C++ streams? (This is the one that looks at whether there is a 0x or leading 0 to decide whether to treat as hex or octal).