filebuf in ifstream and ofstream

Posted by Juan on Stack Overflow See other posts from Stack Overflow or by Juan
Published on 2010-05-03T10:53:51Z Indexed on 2010/05/03 10:58 UTC
Read the original article Hit count: 292

Filed under:
|
|

How can i set a new char array to be the buffer of a fstream's filebuf, there is a function (setbuf) in the filebuf but it is protected. while searching on the web, some sites mention fstream::setbuf but it doesn't seem to exist anymore.

Thanks

© Stack Overflow or respective owner

Related posts about c++

Related posts about streams