fstream - problem with reading/writing to file
Pavel Kudrna
Pavel.Kudrna@mff.cuni.cz
Fri Feb 20 16:18:00 GMT 2009
Greg Chicares wrote:
> On 2009-02-19 20:33Z, Tim McDaniel wrote:
>
> I think you mean C99 7.19.5.3/6, which says
>
> "output shall not be directly followed by input without an intervening
> call to the fflush function or to a file positioning function"
> and vice versa.
>
> The C++ standard refers to the C standard for low-level stuff like this.
>
Thanks for answer. I should look how it is exactly in C++ because
fstream::flush() call between
read/write does not help.
Pavel Kudrna
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list