This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fstream attach for g++3.2.1


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]