your problem is in the prototype of the GetAge function. you need to add " () " to the end of it:
Code:
class Cat // Declaration of the class Cat
{
public:
int GetAge(); // accessor function
void SetAge (int Age); // accessor function
void Meow(); // general function
private: // begin private section
int itsAge; // member variable
};
this is the same scripts that introduced me to classes in c++ .. gotta love sams teaching us c++ in 21 days ..