[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

C++ noshowbase ignored



In FC7, the line"

...
   cout << "a = 0x" << setfill('0') << hex << noshowbase <<
                     setw(8) << a << dec << setfill(' ') << endl;
...

results in:

a = 0x0x91a1218

Is there something I can do about this?

Thanks,
Mike.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]