Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

noshowpos

Causes positive numbers to not be explicitly signed.

ios_base& noshowpos( 
   ios_base& _Str 
);
_Str

A reference to an object of type ios_base, or to a type that inherits from ios_base.

A reference to the object from which _Str is derived.

noshowpos is on by default.

The manipulator effectively calls _Str.unsetf(ios_base::showps), then returns _Str.

See showpos for an example of using noshowpos.

Header: <ios>

Namespace: std

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.