write

Syntax:

    ostream& ostream::write( const char* buffer, streamsize num );

The write() function is used with output streams, and writes num bytes from buffer to the current output stream.

Related Topics: flush, put, read