fstream attach for g++3.2.1
Craig Rodrigues
rodrigc@attbi.com
Thu Feb 13 17:13:00 GMT 2003
On Thu, Feb 13, 2003 at 08:42:59AM -0800, Ta-Cheng Lin wrote:
> Hello All:
>
> I ran into a problem when migrating g++ to 3.2.1.
>
> I used to use fstream.attach(FILE *fp) to write
> outputs to an opened file pointer.
>
> But g+=3.2.1 doesn't support/have fatream attach(),
> What is the alternative for that ?
See reference about stdio_filebuf here:
http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#11
--
Craig Rodrigues
http://home.attbi.com/~rodrigc
rodrigc@attbi.com
More information about the Gcc
mailing list