Why my code works only in debug mode?
I wrote a c++ code using Microsoft visual c++. Now I have some weird problems
I wrote the code on computer A, and runs well.
Then I cope it to computer B. The source code can be compiled, but when I try to run it, it just stoped there, and did not show any error, and the CPU rate is 100%. However, If I open the project and press F5, the code could run in Debug mode.
Actually, I also tried to run it on computer C. There is not Microsoft c++ on it, so I coped the missing library files to the local directory, and the code runs for a while, and stopped again, just like what happend to computer B.
Can anybody give me some suggestions? why the code acts differently on different computers? and why it only runs in debug mode on computer B? This problem really drives me crazy.