討論串[問題] 物件寫入檔案
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓1(1推 0噓 3→)留言4則,0人參與, 最新作者tyc5116 (累人啊....)時間16年前 (2009/09/04 18:58), 編輯資訊
0
0
0
內容預覽:
不好意思,請問一下,後來我的程式碼改成這樣. 在輸入檔案的部份. void TruRealation::Record(){. ofstream outfile(".\\abc.bin",ios::out | ios::binary);. if (!outfile){. cout<<"開啟檔案失敗"<
(還有1162個字)

推噓1(1推 0噓 5→)留言6則,0人參與, 最新作者tyc5116 (累人啊....)時間16年前 (2009/09/03 14:53), 編輯資訊
0
0
0
內容預覽:
請問,以這樣的class為例. class Realation{. public:. Realation(int vAID,int vBID);. int AID;. int BID;. };. class TruRealation{. public:. void add(Realation OB)
(還有520個字)
首頁
上一頁
1
下一頁
尾頁