oct
{ i.setf(ios::dec, ios::dec|ios::hex|ios::oct); return i; }
{ i.setf(ios::hex, ios::dec|ios::hex|ios::oct); return i; }
{ i.setf(ios::oct, ios::dec|ios::hex|ios::oct); return i; }
extern char* oct(long, int=0);
extern char* oct(int, int=0);
extern char* oct(unsigned long, int=0);
extern char* oct(unsigned int, int=0);
basefield=dec+oct+hex,
| ios::dec | ios::oct | ios::hex | ios::showbase | ios::showpoint
b = ios::oct; break;
else if ((stream.flags() & ios::basefield) == ios::oct)
if ((stream.flags() & ios::basefield) == ios::oct) { // Octal
if (n < 0 && (flags() & (ios::oct|ios::hex)) == 0)
if (n < 0 && (flags() & (ios::oct|ios::hex)) == 0)
if (n < 0 && (flags() & (ios::oct|ios::hex)) == 0)