I've a C++ virtual function and I need to override it and add my code without losing original functionality. In Object Pascal I can do it by using inherited([method parameters]). How can I do it in C++?
Note: The function is an event called by its class. So I cannot create a new function and call each function one after another. I need my code to executes inside the event right after the original code.