C++宏定义错误

来源:互联网 发布:mysql表空间查看 编辑:程序博客网 时间:2024/06/16 21:51

error C2059: syntax error : 'constant'

 error C2238: unexpected token(s) preceding ';' 

宏定义错误,

#define N  5  不能用N,可能是与C++库中的宏冲突吧

将N改成NX就行了

 

 

原创粉丝点击