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

Usage

   #include <iostream.hpp>
   ostream &ostream::put(char c);

Description

   This should be regarded as an unformatted or raw output operation. The

   prefix function is called. If this returns a non-zero value, the
   character is stuffed into the associated streambuf. The error flags are
   set if the operation fails. The suffix function is not called.

Example 

   cout << spacing;
   cout << 1 << 'a';
   cout.put('b');
   cout << endl;       // output is: 1 ab

Return Value

   Returns a reference to the ostream for which it was called.





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