#ifndef DANS_LIST_DOT_H #define DANS_LIST_DOT_H const int MAX_LENGTH = 50; typedef int ItemType; class List { public: List(); // construct an empty list bool IsEmpty() const; // true if the list is empty bool IsFull() const; // true if the list is full int Length() const; // the length of the list void Insert(ItemType item); // insert item into the list void Delete(ItemType item); // delete item from the list bool IsPresent(ItemType item) const ; //is the item present void Print() const; // print the list private: int length; // the number of items in the list ItemType data[MAX_LENGTH]; }; #endif