原本写的

The operator - is undefined for the argument type(s) String, int  【参数类型字符串int的运算符-未定义】_运算符

报的 The operator - is undefined for the argument type(s) String, int 错  【参数类型字符串int的运算符-未定义】

 

这是证明有未定义的整形或者字符型变量,

如果一个表达式不是已定义的变量,要用()引起来

 The operator - is undefined for the argument type(s) String, int  【参数类型字符串int的运算符-未定义】_字符串_02