[ Post New Message | Post Reply to this One | Send Private Email to Mike Mannakee | Help ]

I don't understand why UndatedStockItem::Reorder is called

from Mike Mannakee (B3FEETBACK@AOL.com)
I'm still missing something here. If the code calls StockItem::Reorder(os), how does UndatedStockItem::Reorder get called? Wouldn't you have to explicitly call the undated version?

Or does calling a function of any base class from the same function in a derived class only move you up one leg in the hierarchy? Like a ladder, you have to go one rung at a time? I just don't get it, the code SAYS StockItem, I would think that class would have to be called. Shouldn't one simply call the Undated version directly?

(posted 9359 days ago)

[ Previous | Next ]