文件名称:MemoryMgr
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 4kb
- 下载次数:
- 0次
- 提 供 者:
- 王
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
查看内存泄漏的类,使用方法: 把两个文件添加到工程里,在需要做检测的文件里加上#include "MemoryMgr.h"
如果是使用MFC的程序删掉#define new DEBUG_NEW一行,在MemoryMgr.cpp里最上边加上#include "stdafx.h"就可以了。结果会保存在MemoryLeakLog.txt里-See the class memory leaks, use the method: the two files added to the project, the testing needs to be done in the document together with the# include " MemoryMgr.h" If the procedure is to use the MFC deleted# define new DEBUG_NEW line, MemoryMgr. cpp with the most top# include " stdafx.h" on it. Results will be stored in MemoryLeakLog.txt Lane
如果是使用MFC的程序删掉#define new DEBUG_NEW一行,在MemoryMgr.cpp里最上边加上#include "stdafx.h"就可以了。结果会保存在MemoryLeakLog.txt里-See the class memory leaks, use the method: the two files added to the project, the testing needs to be done in the document together with the# include " MemoryMgr.h" If the procedure is to use the MFC deleted# define new DEBUG_NEW line, MemoryMgr. cpp with the most top# include " stdafx.h" on it. Results will be stored in MemoryLeakLog.txt Lane
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MemoryMgr
.........\main.cpp
.........\MemoryLeakLog.txt
.........\MemoryMgr.cpp
.........\MemoryMgr.dsp
.........\MemoryMgr.dsw
.........\MemoryMgr.h
.........\main.cpp
.........\MemoryLeakLog.txt
.........\MemoryMgr.cpp
.........\MemoryMgr.dsp
.........\MemoryMgr.dsw
.........\MemoryMgr.h