mkwan
Tech
I know in VC++ this piece of code will enable me to do heap checking whenever I do debugging
#include "crtdbg.h"
int main(void)
{
...
_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);
...
}
I don't know how to do heapchecking when I am using terminal, how does one do one ( esp for basic DMA console programs like link lists...)
thanks
#include "crtdbg.h"
int main(void)
{
...
_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);
...
}
I don't know how to do heapchecking when I am using terminal, how does one do one ( esp for basic DMA console programs like link lists...)
thanks