#ifndef LIST_T #define LIST_T //const size_t MAX_ITEMS =10; class ListT{ public: ListT(); ListT(const ListT & other); ~ListT(); ListT & operator =(const ListT & other); bool IsEmpty(void) const; bool IsFull(void) const; size_t Length(void) const; bool IsPresent(int key) const; void Delete(int key); void Insert(int key); void Reset(void); bool HasNext(void) const; void Next(void); int GetItem(void) const; private: size_t Find(int key) const; size_t size, current; //int data[MAX_ITEMS]; int * data = nullptr; size_t capacity = 0; }; #endif