摘要: 以下所讨论的函数及宏都在 crtdbg.h 头文件 中 一、_CrtDumpMemoryLeaks() 函数 用法,在程序退出之前调用 _CrtDumpMemoryLeaks() 函数,会在 VS 窗口输出内存泄露的块 eg: #include <stdio.h> #include <stdlib. 阅读全文
posted @ 2016-04-12 10:04 -刀狂剑痴- 阅读(1424) 评论(0) 推荐(0) 编辑