摘要:
#define new DEBUG_NEW在用vc时,利用AppWizard会产生如下代码: #ifdef _DEBUG#define new DEBUG_NEW#undef THIS_FILEstatic char THIS_FILE[] = __FILE__;#endif 对于#define new DEBUG_NEW首先看msdn的解释:Assists in finding memory leaks. You can use DEBUG_NEW everywhere in your program that you would ordinarily use the new operato 阅读全文