I am trying to trap some memory leaks using the debug heap functions.
The following statements set up the heap debugger.
#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>
However, when I use _CrtDumpMemoryLeaks();
I get information in the following format (ONLY ONE...
I am writing a pac man game to practice using the Windows API. I recently added pathfinding using an A* algorithm. To do this I used a class shown below:
//////////////////////////////////////////////////////////////////////////////
// Class : PathSquare
//
// PathSquare objects are used in...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.