This website works better with JavaScript.
Home
Explore
Help
Sign In
felix
/
ftb
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
array lists now can be cleared
banana-cakes
FelixBrendel
6 years ago
parent
f35d5c6d90
commit
07e89f3841
1 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
arraylist.hpp
+ 5
- 0
arraylist.hpp
View File
@@ -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…
Cancel
Save