Only on the mactel (not on the linux build), I get odd behavior when I try to read using ifstream on plain text files. If I just open the file (i.e. don't read in any variables) this corrupts memory:
ifstream in(filename);
in.close();
conversely, memory is uncorrupted if I don't do this.
The only difference I can think of: I created the text file on a Linux machine.
Anyone have issues like this before? If not, it's probably something silly I'm doing a few instructions before...
Thanks!
-Aaron
Archive powered by MHonArc 2.6.16.