#include "intcell.h"
#include "intcell2.h"
#include "intcellfull.h";
#include <iostream>

using namespace std;

int main(){
  IntCell a(1);
  IntCell b = a;
  IntCell c(a);
  IntCell d(10);

  //d.operator=(a);
  d = a;

  b.setValue(2);
  c.setValue(3);
  d.setValue(4);

  cout << "a: " << a.getValue() << endl;
  cout << "b: " << b.getValue() << endl;
  cout << "c: " << c.getValue() << endl;
  cout << "d: " << d.getValue() << endl;

  return 0;
}
