fstream::getline() doesn't work while debugging (VS2008)

(i use VS2008)

i'm having this weird issue where if i run my program in Debug mode, fstream::getline() returns an empty string ("")..if i run it in Release mode, i either get an empty string or a bunch of I`s (my best attempt to type out character -52 :P)..BUT if i compile it for Release and run the program standalone and not with VS2008, the getline() will work

any thoughts? tips? suggestions?

anything's much appreciated! thanks!
athlete501
When you are undo debuging the file should be situated in the folder where sln file is
that was incorrect but you gave me insight and figured out that it needs to be where the source files are (i'm sure you had a brain fart or something and forgot the sln is not in the same folder as the source)

thanks a bunch Denis!
Topic archived. No new replies allowed.