inheritance confusionThanks mbozzi! So if I have [code]int main () { derived_class d; d.run_simulation(); ...
inheritance confusionI am still a bit confused by the logic. Let's move away from virtual functions again. [code] #inclu...
inheritance confusionThanks Keskiverto, then my way of thinking is wrong. I interpret [code] d.base_class::run_simulatio...
inheritance confusionHi guys, can you tell me why in the last line the method of the child class is executed? [code] #in...
inheritance confusionHi guys, I had actually learned about virtual functions a couple of weeks ago, but seemed to have f...