Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ 3.0r4 - <b>ios::flags</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
ios::flags

Usage

   #include <iostream.hpp>
   long ios::flags(long new_flags);
   long ios::flags() const;

Description

   Sets or reads the current settings of the format flags, which are bits in
   a long integer value.

Example 

   int fv = cout.flags();

   if (!(fv & ios::uppercase))
       cout.flags(fv | ios::uppercase);
   cout  < 0.000000123;            // output is 1.23E-07

Return Value

   The const version returns the current flags. The non-const version
   returns the previous value.





Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson