#include "limit.h" class warningCounter : public limitedCounter // extending from limited counter { public: warningCounter(void); warningCounter(int, int); void count(void); void unCount(void); private: const int MAXV = 1000; const int MINV = -1000; int max, min; };