quote: Original post by Lunatic Raven
It seems to be if the crazy ASCII stuff is being added to the end, your sting may be too bigger than what you are loading in, and it is just showing what is already stored in there. You may also be reading in past the length of the text in the text file and by doing that you are accessing memory allocated for something else.
thats what i thought, that the char array was too big to hold the string. i tested that by making it smaller, however that only cut the last few letters of the file off, yet the extra ascii characters remained there