Friday, November 28, 2003

Re: Polymorphism


i think u forgot that the vector is holding Base* .. so *g will dereference to a Base* .. hence got to use (*g)->pr();


I think it's time for me to get an eye checkup.

No comments: