Hi all,
I'm getting a C2504 error, (for those who don't know its a 'base class undefined' error) for what reason I do not know...
beginning of my inherited polygon.h file:
my base class has only #include <cmath> and a definition of PI.Code:class polygon : public isosceles { private: double sides; public: polygon(double length, double sides_val) : isosceles(length) { sides = sides_val; }
any ideas?
Thanks in advance.