big like !!
for debug purpose
Finding Memory Leaks Using the CRT Library:
syntax sample !!
_CrtMemState s1,s2,s3;
_CrtMemCheckpoint(&s1);
//to do - add your code here
_CrtMemCheckpoint(&s2);
if (_CrtMemDifference(&s3, &s1, &s2))
_CrtMemDumpStatistics(&s3);
No comments:
Post a Comment