#ifndef DANS_LIST_DOT_H #define DANS_LIST_DOT_H #include "card.h" typedef card ItemType; const int MAX_LENGTH = 60; 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 void Print_oneline() const; // print the list void Sort(); // sorts the list private: int length; // the number of items in the list ItemType data[MAX_LENGTH]; }; #endif