Unary operator '++' cannot be applied to an operand of type '@lvalue Int'
xcode 10.1
c++和++c報錯.
Unary operator '++' cannot be applied to an operand of type '@lvalue Int'
xcode 10.1
c++和++c報錯.
Unary operator '++' cannot be applied to an operand of type '@lvalue Int'
2019-01-31
舉報
2019-02-08
Swift 3. 移除了 ++ --, 你可以用 +=1 或者 -=1代替