首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 查看内存泄漏的类,使用方法: 把两个文件添加到工程里,在需要做检测的文件里加上#include "MemoryMgr.h" 如果是使用MFC的程序删掉#de...

查看内存泄漏的类,使用方法: 把两个文件添加到工程里,在需要做检测的文件里加上#include "MemoryMgr.h" 如果是使用MFC的程序删掉#de...

  • 资源大小:4.27 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: Windows开发

资 源 简 介

查看内存泄漏的类,使用方法: 把两个文件添加到工程里,在需要做检测的文件里加上#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

文 件 列 表

MemoryMgr
main.cpp
MemoryLeakLog.txt
MemoryMgr.cpp
MemoryMgr.dsp
MemoryMgr.dsw
MemoryMgr.h
VIP VIP
0.171668s