//CPP文件中的预编译命令
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__; //报错地方
#define new DEBUG_NEW
#endif
//调试信息
Compiling...
Music.cpp
F:\SEC\SEC\Music.cpp(7) : error C2628: 'CMciControl' followed by 'char' is illegal (did you forget a ';'?)
F:\SEC\SEC\Music.cpp(7) : error C2538: new : cannot specify initializer for arrays
Error executing cl.exe.
Creating browse info file...
SEC.exe - 2 error(s), 0 warning(s)
有没有知道这问题怎么处理的?
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__; //报错地方
#define new DEBUG_NEW
#endif
//调试信息
Compiling...
Music.cpp
F:\SEC\SEC\Music.cpp(7) : error C2628: 'CMciControl' followed by 'char' is illegal (did you forget a ';'?)
F:\SEC\SEC\Music.cpp(7) : error C2538: new : cannot specify initializer for arrays
Error executing cl.exe.
Creating browse info file...
SEC.exe - 2 error(s), 0 warning(s)
有没有知道这问题怎么处理的?

