討論串[問題] dofile
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 1→)留言1則,0人參與, 最新作者lovelylion2 (′‧ω‧‵)時間15年前 (2009/04/17 12:37), 編輯資訊
2
0
0
內容預覽:
請問recursively dofile的時候應該有哪些輸出呢?. bool pushDofile();. bool popDofile();. stack<ifstream*> _dofileStack; // For recursive dofile calling. 似乎要用到這三個membe
(還有23個字)

推噓1(1推 0噓 0→)留言1則,0人參與, 最新作者Ultor (m(_ _)m)時間15年前 (2009/04/17 12:51), 編輯資訊
0
0
0
內容預覽:
要 recursive dofile. 但是 _dofile 只有一個. 當 _dofile 指向一個 ifstream 物件時 只能開一個檔案. 要多開幾個的話 就要把目前 _dofile 的值存到 _dofileStack 裡面. 然後用 _dofile 再 New 一個 ifstream 這樣

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者ric2k1 (Ric)時間14年前 (2009/10/25 15:06), 編輯資訊
0
0
0
內容預覽:
引述《Ultor (m(_ _)m)》之銘言:. 要 recursive dofile. 但是 _dofile 只有一個. 當 _dofile 指向一個 ifstream 物件時 只能開一個檔案. 要多開幾個的話 就要把目前 _dofile 的值存到 _dofileStack 裡面. 然後用 _
(還有47個字)
首頁
上一頁
1
下一頁
尾頁