问题描述
- C语言编译报错出现C2143
-
void Linelinktoarray(EdgePoint____* edgePoint,int *arrayx,int *arrayy,int &number,int GradMain,int &Sumx,int &Sumy); EdgePoint已定义,为嘛会出现:error C2143:语法错误:缺少”)“(在”&“的前面)
解决方案
下划线呢?难道就不算定义的不部分???
难道是你的输出有误。
解决方案二:
要看完整的程序,有时候错误提示只能作为参考
解决方案三:
头文件是否正确包含,看一下你的代码
时间: 2024-08-10 04:59:00