討論串[問題] 計程class問題
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
class employee. {. public:. employee(string name1,string name2,int sry). {fstname=name1;. lstname=name2;. monsry=sry;}. void set(). {. cout<<"Please e
(還有622個字)
內容預覽:
employee worker1("Paul","Lin",30000); //parameter是constructor要求輸入的. //現在想測試一下initial的資料. cout<<"The employee "<<worker1.getfirstname()<<" ". <<worker1
(還有388個字)
首頁
上一頁
1
下一頁
尾頁