Posted by Chris on November 28, 2001 at 22:17:18:
I'm trying to make a hauler object and put it in my array of towtruck pointers by doing this:
Trucks = new Hauler(ID, Address, Direction);
Trucks is defined as:
The constructor i am trying to access is the one TowTruck has....but when i make this call i get an error saying "Hauler::Hauler : no overloaded function takes 3 parameters"
So i assume its not looking for the constructor in the base class...but i have all the inheritance set up correctly...
What am i screwing up?
Post a Followup