I've got a (lengthy) program, and when I run it, some variables get some really bogus values for some reason. When I debug it to find the cause of it, the values are fine, making it difficult to track down the problem.
So, my question is, what could cause this? Obviously the debugger does something differently. I read somewhere that the debugger gives values to uninitialized variables, though I don't think this is my particular problem.
So, any ideas?
Cheers.
BTW, I'm using MSVS '08.