Chinaunix首页 | 论坛 | 博客
  • 博客访问: 90529
  • 博文数量: 50
  • 博客积分: 1086
  • 博客等级: 少尉
  • 技术积分: 420
  • 用 户 组: 普通用户
  • 注册时间: 2011-10-25 16:16
文章分类
文章存档

2011年(50)

我的朋友

分类: C/C++

2011-11-15 19:39:18

add

 

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

 

or

 

#ifdef _DEBUG
#define new DEBUG_NEW
#endif

 

using DEBUG_NEW in win32 Project,  add #include in cppfiles and _AFXDLL in Preprocesser Definitions

 

尽量在前面点 不能和 重复

阅读(608) | 评论(0) | 转发(0) |
0

上一篇:UML 类图

下一篇:C++ ing

给主人留下些什么吧!~~