/****************************************************** Name: Filename: IntegerSet.h ******************************************************/ #ifndef IntegerSet_H #define IntegerSet_H class IntegerSet { public: IntegerSet() { emptySet(); } IntegerSet(int, int = -1, int = -1, int = -1, int = -1); IntegerSet unionOfIntegerSets(const IntegerSet&); IntegerSet intersectionOfIntegerSets(const IntegerSet&); void emptySet(void); void insertElement(int); void deleteElement(int); void setPrint(void) const; int isEqualTo(const IntegerSet&) const; private: int set[101]; int validEntry(int x) const { return x >= 0 && x <= 100;} }; #endif