4 template<typename type>
8 array((type *)ourcalloc(1, sizeof(type) * _size)),
13 Array(type *_array, uint _size) :
14 array((type *)ourcalloc(1, sizeof(type) * _size)),
16 memcpy(array, _array, _size * sizeof(type));
23 void remove(uint index) {
25 for (; index < size; index++) {
26 array[index] = array[index + 1];
30 type get(uint index) {
34 void set(uint index, type item) {