#ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE 是什么意思?#ifdef _DEBUG#define new DEBUG_NEW#undef THIS_FILE

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/15 01:51:01
#ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE 是什么意思?#ifdef _DEBUG#define new DEBUG_NEW#undef THIS_FILE

#ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE 是什么意思?#ifdef _DEBUG#define new DEBUG_NEW#undef THIS_FILE
#ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE 是什么意思?
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE

#ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE 是什么意思?#ifdef _DEBUG#define new DEBUG_NEW#undef THIS_FILE
在debug8版本(调试版本),就将new(申请内存)的操作符改成DEBUG_NEW,估计会抛异常等带调试手段的函数
取消THIS_FILE这个宏的定义