討論串[問題] 計程class問題
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓5(5推 0噓 1→)留言6則,0人參與, 最新作者jackwei (吐司)時間19年前 (2006/11/11 22:43), 編輯資訊
0
0
0
內容預覽:
class employee. {. public:. employee(string name1,string name2,int sry). {fstname=name1;. lstname=name2;. monsry=sry;}. void set(). {. cout<<"Please e
(還有622個字)

推噓3(3推 0噓 0→)留言3則,0人參與, 最新作者jackwei (吐司)時間19年前 (2006/11/11 21:56), 編輯資訊
0
0
0
內容預覽:
employee worker1("Paul","Lin",30000); //parameter是constructor要求輸入的. //現在想測試一下initial的資料. cout<<"The employee "<<worker1.getfirstname()<<" ". <<worker1
(還有388個字)
首頁
上一頁
1
下一頁
尾頁