When overriding virtual methods you have to make sure that the method signatures
exactly match (please see
Brydon's remark). Change from
Quote:
float virtual area() { return 3.14*fRadius*fRadius; }
to
virtual float area() const { return 3.14*fRadius*fRadius; }