Under Debug in VC, it is correct, but it is wrong in Release, it is finally found.

xiaoxiao2021-03-06  115

Recently, I wrote a program. In the debug state, the result is completely correct, but in addition to the wrong, in order to find this error, I spent N for a long time, and finally I found out, why is there is no value for variables. There is a variable in the program that is a Flaot type. In the debug state, no assignment is 0, but it is not necessarily in the Release state. It is so simple. pain.

So later, in what kind of language, in what kind of environment, what kind of tool, it is best to assign a variable. Otherwise

When you check the mistake, you can't touch it.

转载请注明原文地址:https://www.9cbs.com/read-99629.html

New Post(0)