hey everyone, im doing this program on polymorphism and inheritance and what our teachjer wants us to do is to insert things from the derived class into a base class array which i was able to do. but she also wants us to change the information in teh array and i dont know how to do that. what ive tried to do was somthing like this
TimePiece *Array[10];
price = Array[0].getPrice();
and then i get to change the price and then put it back in tht position, but the thing is you cant do that with *Array[10], you can only do it with a non-pointer array. so please help. Thanks