Thanks very much Ahmed !!
Where am I going wrong here?
I've tried:
class SportsCar : public VectorClass
class SportsCar : public Vehicle, public VectorClass
and
class SportsCar : public VectorClass, public Vehicle
None seem to work, where am I going wrong?
EDIT - Thanks Ahmed, just seen your edit and just getting my head around it. I haven't added any functionality to the function apart from the cout as I wanted to get a simplem function working before creating it fully.
Last edited by Carrots; May 30th, 2009 at 7:20 pm.
Reputation Points: 41
Solved Threads: 0
Junior Poster in Training
Offline 62 posts
since Mar 2009