Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Borland C++ 2.x ( with Turbo C ) - <b>ostream formatted output stream</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ostream              Formatted Output Stream


            The ostream class is used for non-file formatted output.
    The cout, cerr, and clog classes are derived from ostream. The
    important member classes of ostream are:

 ostream &put(ch);    Put one char to stream associated with object
 unsigned char *buf;    Data buffer
 int num;               Number of bytes to read

 ostream &write(buf, num);    Write num bytes to this object's stream
 unsigned char *buf;    Data buffer
 int num;               Number of bytes to write

 int eof();      Return nonzero value when the end of the file is reached.

 ostream &seekp(offset, origin);      Move data put pointer
 streamoff offset;      Type defined in IOSTREAM.H
 seek_dir origin;       Seek_dir is an enumeration; possible values:
                           ios::beg  =  Beginning
                           ios::cur  =  Current location
                           ios::end  =  End

See Also: istream iostream

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