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::setf</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
ios::setf

Usage

   #include <iostream.hpp>
   long ios::setf(long bits_to_set, long mask = 0);

Description

   Sets the flormat flag bits specified by the first argument, having first

   cleared any bits specified by the second mask argument. The default mask
   does no clearing.

Example 

   cout.setf(ios::scientific, ios:floatfield);

   // set scientific notation, making sure that fixed is
   // not specified at the same time.

Return Value

   Returns the value of the flags before the specified alteration.





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