[Error]expected ‘)’ before ‘[’ token
Error] label ‘s’ used but not defined
这两个错误同时出现在这个地方:
for(i = 0; s[i] >= ‘0’ ; && s[i] <= ‘9’; ++i)=
在for循环中使用逻辑运算符时多加入了一个 ;
这就导致for循环的判断终止条件被强行的分断。
同出现了括号不清和已定义的数组无法识别的问题。
[Error]expected ‘)’ before ‘[’ token
Error] label ‘s’ used but not defined
这两个错误同时出现在这个地方:
for(i = 0; s[i] >= ‘0’ ; && s[i] <= ‘9’; ++i)=
在for循环中使用逻辑运算符时多加入了一个 ;
这就导致for循环的判断终止条件被强行的分断。
同出现了括号不清和已定义的数组无法识别的问题。