We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- C++
- STL
- Print Pretty
- Discussions
Print Pretty
Print Pretty
Sort by
recency
|
162 Discussions
|
Please Login in order to post a comment
c++14 ` cout << setw(0) << nouppercase << showbase << hex << static_cast(A) << endl;
IT WORKS FOR ALL i realized: if u set a,b and c are float, it will be wrong!
Why I can't use despite I'm on C++20?
cout << left << nouppercase << showbase << hex << (long)A << endl; cout << right << setw(15) << setfill('') << showpos << fixed << setprecision(2) << B << endl; cout << left << uppercase << noshowpos << scientific << setprecision(9) << C << endl;