討論串[問題] 關於clear() insert()與erase()in hw5
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓4(4推 0噓 0→)留言4則,0人參與, 最新作者scxz (tears and rain)時間17年前 (2006/12/22 11:34), 編輯資訊
1
0
0
內容預覽:
抱歉想請問一下. clear()這個function要把_data給delete掉嗎 還是只要把所有element弄掉就好. 而可以保留之前要到的記憶體空間呢?. 關於insert()與erase()這兩個function. 他們return的type是iterator. 那該回傳的的位置是. in
(還有67個字)

推噓1(1推 0噓 0→)留言1則,0人參與, 最新作者ric2k1 (Ric)時間17年前 (2006/12/22 22:54), 編輯資訊
0
0
0
內容預覽:
請見 HW#5 pdf 說明檔 page 3.. - clear(): empty the ADT. For SList and DList, delete their SListNode and. DListNode, respectively. For Array, reset its _siz
(還有149個字)
首頁
上一頁
1
下一頁
尾頁