This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


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

Re: <fstream.h> does not seem to be working ....


> File size: -1 bytes
> Fail bit set
> Rows:       -4
> Cols:       -4

I'm not too surprised that you read garbage out of your file. What
does surprise me is that the file size is reported incorrectly - in
particular, as gcc 2.95 gives a meaningful value (tried for
/etc/passwd :)

Regards,
Martin


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