Code executes only in debugmode?

Nov 13, 2013 at 10:25pm
how come can a program only be execute in debug mode??
I am using visual studio 2010, and don't see what the problem should be.
The program compile the file without any problem, so i don't understand why I just can't use the .exe in my debug folder?
I get this error message when I try to execute the .exe file from my debug folder.
http://imgur.com/Qj0jdlq
Last edited on Nov 13, 2013 at 10:30pm
Nov 13, 2013 at 10:36pm
You might have some uninitialized variables or something. Make sure you have fixed all your warnings too.
Nov 13, 2013 at 11:07pm
Where do i see them?.. i can't see any..
Nov 13, 2013 at 11:21pm
Are you having this problem for every program you compile, or just one?
If every program does this, then check your compiler settings.
If it's just one, then it'd be a lot easier for us if you could post your code here (provided that it's not too long, that is).
Topic archived. No new replies allowed.