+ 1
Of course. That's the reason of virtual functions indeed. The virtual function assumes that every class inheriting from the one it's on does that behavior in a different way, so you declare it virtual to be overloaded/reimplemented on the daughters classes so they do it their way.
4th Apr 2017, 8:54 PM
JoĂŁo Krejci
JoĂŁo Krejci - avatar