討論串[問題]關於 overload的問題
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓1(1推 0噓 0→)留言1則,0人參與, 最新作者legnaleurc (CA)時間16年前 (2009/05/10 13:51), 編輯資訊
0
0
1
內容預覽:
It works on my machine.. 應該是你有其他語法打錯. 語法錯誤. box box::operator +( const box & b ) {. // .... }. friend ostream & operator <<( ostream & out, const box

推噓2(2推 0噓 1→)留言3則,0人參與, 最新作者conan77420 (小馬非馬)時間16年前 (2009/05/09 21:50), 編輯資訊
0
0
0
內容預覽:
程式:. #include<iostream>. #include<stdio.h>. using namespace::std;. class box. {. public:. box();. box(int l);. box(int w,int h,int d);. box operator+(
(還有887個字)
首頁
上一頁
1
下一頁
尾頁