stdiostream( FILE* fp );
Parameter
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.
stdiostream Overview | Input/Output Stream Classes
Example
stdiostream myStream( stdout );