소스 검색

array lists now can be cleared

banana-cakes
FelixBrendel 6 년 전
부모
커밋
07e89f3841
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. +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;


불러오는 중...
취소
저장