Coder's Guild Mailing List

hunting mem leakes in C/C++

Posted by Weasel on 1999-07-05

Hi there.

Unfortunatly there is a memory leak in one of my programs and I need to
fix this. Can someone suggest methods for hunting them down?

In pascal I always did something like this:

writeln(memfree);
{some code}
writeln(memfree);

is there something similar to memfree in C++?

TIA
-- 
Weasel                    http://www.cosy.sbg.ac.at/~ppalfrad/
main(i){putchar(354603184>>(i-1)*5&31|!!(i<6)<<6)&&main(++i);}
   The software said Windows95 or better, so I got Linux...