// foo.h  A class to demo static members  P. Conrad for CISC220, 06J


#ifndef FOO_H
#define FOO_H


#include <iostream>

class Foo_C
{
 public: 
  
  Foo_C() { x = 0; y = 0; count++;}
  Foo_C(int theX, int theY) { x = theX; y = theY; count++;}
  
  void print() const {std::cout << x << "," << y << "," << count << std::endl;}
  
 private:
  int x;
  int y;
  static int count; // sketchy... count not initialized?
  
};


#endif
