// definition of myClass' methods #include #include "classes.h" myClass::myClass() { // constructor using namespace std; cout << "constructing myClass object at address " << this << endl; } myClass::~myClass() { // destructor using namespace std; cout << "destroying myClass object at address " << this << endl; } void myClass::setTheInt(int newInt) { myClass::theInt = newInt; } int myClass::getTheInt(void) { return theInt; }