出了一個小問題 但自己找不出錯誤 求大神幫忙
D:\CODEBLOCK\c++練習(xí)\lessen12\Line.cpp|27|error: no match for 'operator<<' (operand types are 'std::basic_ostream<char>' and '<unresolved overloaded function type>')|
D:\CODEBLOCK\c++練習(xí)\lessen12\Line.cpp|27|error: no match for 'operator<<' (operand types are 'std::basic_ostream<char>' and '<unresolved overloaded function type>')|
2017-11-02
舉報
2017-11-06
getY后邊忘了加括號。
2017-11-02
我在codeblock里面編寫的? 編譯之后出錯了? 錯誤警告是這樣寫的:D:\CODEBLOCK\c++練習(xí)\lessen12\Line.cpp|27|error: no match for 'operator<<' (operand types are 'std::basic_ostream<char>' and '<unresolved overloaded function type>' ?它對應(yīng)的錯誤行就是我截的圖
2017-11-02
你的問題是什么啊,沒看懂