problem with MSVC++ 6's release mode
Hellow everyone. The problem im having is, when I set the active configuration on my project to 'release', it compiles fine, but when run, gives me an 'illegal error' and quits. The strange thing is that it works perfectly fine when I use it in debug mode. I commented out lines, and have found that in release mode the program goes until it hits this line:
I don't see why this line would affect the program in release mode but not debug. Anyone know why? Also, I have MSVC++ 6 with service pack 5 installed. Thanks!
source.getline(line,256); //get a line from the file