In the debugger, I hold my mouse over the Read variable (loc 2), and all it shows are a bunch of "I"'s.
If I hold it at location 1, it shows a bunch of "i"'s, followed by the data in my file.
Thanks for any help,
exorcist_bob

Share this post

Link to post

Share on other sites

yeah, this is a common problem that i used to have when i was first learning how to do fileIO

like jfl said, you have a buffer overflow, which means its trying to read stuff when its not there, so it fills it with a "null" character, even tho its not really null, its just something that the file can read, even if it doesnt exist