#include "TestClass.h" ClassImp (TestClass); void TestClass::Print() const { cout<< "fx= " << fX << ", fY = " << fY << endl; } void TestClass::SetArray(int nmax) { if (nmax>counter) { arr = new int[nmax]; //need more space } counter = nmax; for (int i=0;i