摘要:
#ifdef _DEBUG#define new new(_NORMAL_BLOCK, THIS_FILE, __LINE__)#undef THIS_FILEstatic char THIS_FILE[] = __FILE__;#endifclass FindMemoryLeaks{ _CrtMemState m_checkpoint;public: FindMemoryLeaks() { _CrtMemCheckpoint(&m_checkpoint); }; ~FindMemoryLeaks() { _CrtMemState checkpoint; _CrtMemCheckpoi 阅读全文
posted @ 2011-07-06 16:28
宇月--测试开发梦想家
阅读(239)
评论(1)
推荐(0)
浙公网安备 33010602011771号