Pārlūkot izejas kodu

array lists now can be cleared

banana-cakes
FelixBrendel pirms 6 gadiem
vecāks
revīzija
07e89f3841
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  1. +5
    -0
      arraylist.hpp

+ 5
- 0
arraylist.hpp Parādīt failu

@@ -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;


Notiek ielāde…
Atcelt
Saglabāt