stdiostream::stdiostream

Syntax

stdiostream( FILE* fp );

Parameters

fp

A standard I/O file pointer (can be obtained through an fopen or _fsopen call). Could be stdin, stdout, or stderr.

Remarks

Objects of class stdiostream are constructed from open standard I/O files. An unbuffered stdiobuf object is automatically associated, but the standard I/O system provides its own buffering.

Example

stdiostream myStream( stdout );