都能正常运行,可是运算出的结果不一样,主要是一些矩阵运算。请高手传授经验!
一般是由于什么原因造成的呢?
还有一个问题,为什么到析构函数的时候就出错呢?:
The instruction at "0x77f0511e" referenced memory at "0xfffffff5". The memory could be "written".
弄的我只有new而没法delete
...全文
4989打赏收藏
怪事!为什么Debug和Release运行结果不一样呢?
都能正常运行,可是运算出的结果不一样,主要是一些矩阵运算。请高手传授经验! 一般是由于什么原因造成的呢? 还有一个问题,为什么到析构函数的时候就出错呢?: The instruction at "0x77f0511e" referenced memory at "0xfffffff5". The memory could be "written". 弄的我只有new而没法delete
If the result is not identical. Pay attention to the speed of your program running. For instance:
you called a random number in your program for several times, and the random number will be the same one number if you run it too fast.