// foo.C

#include <iostream.h>
#include "foo.h"

Foo::Foo()
{
  x = 0;
}

int Foo::bar(int i) const
{
  cout << "const member function called" << endl;
  return 1;
}

int Foo::bar(int i)
{
  cout << "non-const function called" << endl;
  return 0;
}
