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
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).