class IntCell{ public: IntCell(int initValue){ value = initValue; } int getValue() const { return value; } void setValue(int newValue){ value = newValue; } private: int value; }; // don't forget this semicolon!! #include; using namespace std; int main() { IntCell x = 5; IntCell y(7); cout << x.getValue() << endl; cout << y.getValue() << endl; x = 10; cout << x.getValue() << endl; }