Hello I\'m writing a little project in c++ where I would like to have some classes that does some work, I wrote the interfaces and the implementation of the classes.
class animal
{
public:
animal();
~animal();
public:
method1(int arg1);
private:
int var1;
};
Notice you didn't put a semi-colon at the end of the class declaration. C++ requires it and sometimes gives confusing/misleading error messages if you forget it.