Fast and easy memory leak detection






2.67/5 (3 votes)
For Visual Studio IDE we can detect leaks by using CRT debugger functions#define _CRTDBG_MAP_ALLOC#include #include void main(){ // ...... // ...... _CrtDumpMemoryLeaks();}This will dump leaks if any to the Output window. Check this link :...
For Visual Studio IDE we can detect leaks by using CRT debugger functions
#define _CRTDBG_MAP_ALLOC
#include
#include
void main()
{
// ......
// ......
_CrtDumpMemoryLeaks();
}
This will dump leaks if any to the Output window. Check this link : http://msdn.microsoft.com/en-us/library/e5ewb1h3(v=vs.80).aspx[^]
Any way this seems to a nice tool. I will try it for sure. My 5