Archive for the 'memory' Category

23
Sep
11

finding leaks in c/c++ code under windows


Easy way of finding leaks in C/C++ code: vld.

  1. Install it
  2. Add it to the include paths and to the directories
  3. Make sure the vld dll is in PATH ( may require an IDE restart )
  4. include in one of your sources
  5. run the code in debug
  6. check the output window, after you close the binary
  7. fix leaks




Blog Stats

  • 222,663 hits