This is the mail archive of the cygwin mailing list for the Cygwin 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 - problem with reading/writing to file


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/


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