#ifndef DYNAMIC_ARRAY #define DYNAMIC_ARRAY class ArrayT { public: ArrayT(); // new ArrayT(const ArrayT & src); ~ArrayT(); ArrayT & operator =(const ArrayT & src); size_t Size(void) const; size_t Capacity(void) const; int At(size_t pos) const; bool Set(size_t pos, int value); bool Append(int value); void Delete(void); private: // changed int *data; size_t size; // new size_t capacity; }; #endif