I have a base class with all virtual functions in it. I have 2 derived classes from this base class. is it ok for me to add new virtual functions to the base class as the requirement increases later on or does this violate the oop concepts.
This is a discussion on virtual functions. within the C++ Programming forums, part of the General Programming Boards category; I have a base class with all virtual functions in it. I have 2 derived classes from this base class. ...
I have a base class with all virtual functions in it. I have 2 derived classes from this base class. is it ok for me to add new virtual functions to the base class as the requirement increases later on or does this violate the oop concepts.
adding new virtual functions basically changes the focus and lessens the idea of having an virtual base class,
.....in my humble opinion....