Table of Contents
Previous Section Next Section

write

#include <iostream>ostream &write(const char *buf, streamsize num);

The write( ) function is a member of ostream.

The write( ) function writes num bytes to the associated output stream from the buffer pointed to by buf. It returns a reference to the stream.

Related functions are read( ) and put( ).


Table of Contents
Previous Section Next Section