The tellg,seekg functions

Pages: 12
Did you read my earlier post? About the endlines being mapped in text mode?

Also, to see the stack trace, next time you crash, the Debug menu has a Windows item which has a Stack Trace item. It might provide a bit more information, esp. if you have the symbols installed.
@ne55:
¿What happens if you open the file in binary mode?

it works,that's what happens!!but I'm sure you already knew that! thanks!

So apparently this is what's going on:
Some operating systems differentiate between text and binary modes. In text mode, end-of-line sequences and possibly other things are translated; in binary mode, they are not. For example, in text mode under Windows, "\r\n" is translated into "\n" on input, and the reverse on output.


Problem solved!Thanks everybody!


edit: @andy
Did you read my earlier post? About the endlines being mapped in text mode?
I did,but I didn't understand:D.I do now,though.Thanks.
the Debug menu has a Windows item which has a Stack Trace
my Debug menu doesn't seem to have that.Anyway,I've read smtg about stack trace on wikipedia and I didn't understand it.
Last edited on
Topic archived. No new replies allowed.
Pages: 12