You are viewing a single comment's thread. Return to all comments →
cout << left << hex << showbase << nouppercase << (long)A<< endl;
cout << setw(0xf) << right << setfill('_') << showpos << setprecision(2) << fixed << B << endl;
cout << scientific << uppercase << setprecision(9) << noshowpos << C << endl;
HTH
Thanks, --Sourav.
Seems like cookies are disabled on this browser, please enable them to open this website
Print Pretty
You are viewing a single comment's thread. Return to all comments →
cout << left << hex << showbase << nouppercase << (long)A<< endl;
cout << setw(0xf) << right << setfill('_') << showpos << setprecision(2) << fixed << B << endl;
cout << scientific << uppercase << setprecision(9) << noshowpos << C << endl;
HTH
Thanks, --Sourav.