About debug version and release version.
-
I want to know why the results of debug version and release version are not identical when using VC++? (My program has no memory leak.) who can give me some advice,thanks a lot!;P ;P
-
There are LOTS of differences between release and debug versions. You need to give more information if you want help fixing a problem. Also there are articles here on release vs debug versions.
I set 4 level-warning in project settings,and I am sure that all the variables are initialized,but some results aren't the same slightly,for instance:"Waist=75.620499,Knee=36.650490 "in release version and "Waist=75.630901,Knee=37.181105" in debug version.I suspect if the problems consist in float type,thanks for any further help.
-
I set 4 level-warning in project settings,and I am sure that all the variables are initialized,but some results aren't the same slightly,for instance:"Waist=75.620499,Knee=36.650490 "in release version and "Waist=75.630901,Knee=37.181105" in debug version.I suspect if the problems consist in float type,thanks for any further help.
you might want to try a tool like BoundsChecker or Purify. the compiler, even at level 4, doesn't catch everything. -c ------------------------------ Smaller Animals Software, Inc. http://www.smalleranimals.com