When using cout, what is the default formatter defined in the <iomanip> header? In other words, once I’ve set my formatter to fixed using cout << fixed << setPrecision(2), how do I change it back? Or, what am I changing it back to?
When using cout , what is the default formatter defined in the <iomanip> header?
Share
The opposite of
std::fixedisstd::scientific.(You find a nice list of manipulators in this great answer.)