MFC中各头文件的这段代码是什么意思
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
[解决办法]
#ifdef _DEBUG //如果是DEBUG版本
#define new DEBUG_NEW //用debug new 来代替new
#undef THIS_FILE
static char THIS_FILE[] = __FILE__; //这个宏是用来取当前文件名的
#endif