按照课本上写的 新建一个mfc 扩展dll工程  然后在工程上右键添加一个类,不添加其他代码编译,发现不过,:\being\being6\max.h(15) : warning C4003: not enough actual parameters for macro 'max'
e:\being\being6\max.h(15) : error C2059: syntax error : ')'
e:\being\being6\max.h(15) : error C2334: unexpected token(s) preceding ':'; skipping apparent function body
e:\being\being6\max.h(16) : warning C4003: not enough actual parameters for macro 'max'
E:\being\being6\max.cpp(18) : warning C4003: not enough actual parameters for macro 'max'
E:\being\being6\max.cpp(23) : warning C4003: not enough actual parameters for macro 'max'
E:\being\being6\max.cpp(27) : fatal error C1004: unexpected end of file found
执行 cl.exe 时出错.being6.dll - 1 error(s), 0 warning(s)
(新建了一个max类)
(全部用的系统集成出的代码,不可能有语法错误)