看板 Programming 關於我們 聯絡資訊
> void triangle::sss(double high,double base,char *name) > { > _high = high; > _base = base; > _name = name; > } ///恕刪/// > int main() > { > triangle frist; > frist.sss(5.0,4.0,"tony"); > cout << frist.sss() ^^^^^^^^^^^ 沒有這個function阿........... 所以才會說找不到這個函式 因為你只定義了 sss(double,double,char*)這個函式 > << endl; > system("pause"); > } -- ▄▄▄▄▄▄▄ ▄▄▄▄ ▄▄▄▄▄▄ <telnet://bbs.cs.nctu.edu.tw> █▄▄▄▄█ █ ▄▄▄▄▄█ Player: truck ▄█▄▄▄▄█ ▄▄▄█ █▄▄▄▄▄ From: r21913.cs.nctu.edu.tw ☆ 次世代BS2 ☆ 可申請個人板 150MB 相簿 http://pic.bs2.to 交大資訊人 250MB