Print Pretty

  • + 0 comments

    simple is best

    cout << left << nouppercase << hex << showbase << (long long)A << endl;

        cout << setfill('_') << setw(15) << right << showpos << fixed << setprecision(2) << B << endl;
    
        cout << uppercase << noshowpos << scientific << setprecision(9) << C << endl;