#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif这些是什么意思啊.有谁详细解释一下吖

解决方案 »

  1.   

    VC开发,感觉跟PLSQL开发一样#ifdef      _DEBUG                              //如果是debug状态   
    #define     new        DEBUG_NEW                //定义new为DEBUG_NEW
    #undef      THIS_FILE                           //清除THIS_FILE   
      static     char     THIS_FILE[]=__FILE__;     //定义THIS_FILE为   
                                                           //__FILE__(这是当前文件全路径名字)        
      #endif