什么意思?為什么錯?
b = a - b<<endl;
[Error] invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
b = a - b<<endl;
[Error] invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
2024-05-18
舉報
2024-05-18
意思是:[錯誤]int和<未解析的重載函數類型>的操作數對二進制操作符<<
錯了,因為不能加<<endl