Virtual fonction

Hi
I want to herit from a class that declare virtual fonctions in the header file.
So should i mention them in the header file in the new class or there is no probelm?
If you want to overwrite functions you need to write them in the inherited class with the same interface
I like to declare every virtual function virtual. That includes the base class and all the derived classes. It improves readability. But the only requirement is that the virtual function be declared virtual in the base class header file.
Topic archived. No new replies allowed.