#include <iomanip> #include <iostream> int main () { cout << setw (9) << 1.0 << setw (9) << 2.0 << endl; } ...outputs: 12 ...instead of: 1 2
*** This bug has been marked as a duplicate of 18861 ***