std::showpos
ios_base& showpos (ios_base& str);
Show positive signs
Sets the
showpos format flag for the
str stream.
When the showpos format flag is set, a plus sign (
+
) precedes every non-negative numerical value inserted into the stream (including zeros).
This flag can be unset with the noshowpos manipulator.
For standard streams, the showpos flag is not set on initialization.