#include <iostream.h>ostream &write(const char *buf, int 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. (Note that buf may also be of type unsigned char * or signed char *.) It returns a reference to the stream.
Related functions are read( ) and put( ).