Probably because of my newbishness but
what's wrong with this? Thanks for helpin'
I tried it in codewarrior and points to the dog constructor saying "cannot construct class 'mammal'" and in dev-c++ it also points to dog constructor saying no matching function for call to `mammal::mammal()'Code:class mammal
{
public:
mammal(int);
};
class dog : public mammal
{
public:
dog();
};
mammal::mammal(int x)
{}
dog::dog()
{}