本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
felix
/
ftb
關注
1
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
0
Wiki
活動
瀏覽代碼
array lists now can be cleared
banana-cakes
FelixBrendel
6 年之前
父節點
f35d5c6d90
當前提交
07e89f3841
共有
1 個檔案被更改
,包括
5 行新增
和
0 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
arraylist.hpp
+ 5
- 0
arraylist.hpp
查看文件
@@ -19,6 +19,11 @@ struct Array_List {
data = 0;
}
void clear() {
next_index = 0;
}
Array_List<type> clone() {
Array_List<type> ret;
ret.length = length;
Write
Preview
Loading…
取消
儲存