You are viewing a single comment's thread. Return to all comments →
c++14 ` cout << setw(0) << nouppercase << showbase << hex << static_cast(A) << endl;
string sign = B >= 0 ? "+" : ""; std::stringstream ss; ss.precision(2); ss << fixed << sign << B; cout << std::setfill('_') << setw(15) << ss.str() << endl; cout << noshowpos << setprecision(9) << uppercase << scientific << C << endl; ```
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 →
c++14 ` cout << setw(0) << nouppercase << showbase << hex << static_cast(A) << endl;