Answer to Question #545 in C++ for Chu-Hua
I am developing a program for calculating the integral function. Why everything is good in the debug build, but the result is wrong in the release?
Perhaps you have uninitialized variables. In some compilers in the debug build all the variables are initialized to zero, and all pointers – to a NULL pointer, which is not done in the release in order to optimize the execution time.
No comments. Be first!