//
//CS 240 Base Class -- Must be inherited by all other classes
//

#ifndef CS240_H
#define CS240_H

class CS240 {
public:
  CS240();			//CONSTRUCTOR: increments creations
  CS240(const CS240 &);		//copy constructor

  ~CS240();			//DESTRUCTOR:  increments deletions

  static void print();		//display creations and deletions
  static int get_creations();	//return creations
  static int get_deletions();	//return deletions

private:
  static int creations;  //how many times objects have been instantiated
  static int deletions;  //how many times objects have been destroyed
};

#endif

