Add a pointer of your parent class in your child class, change the constructors to pass the parent pointer. Once you have the parent pointer inside child you can easily access any public method of parent.
Add a pointer of your parent class in your child class, change the constructors to pass the parent pointer. Once you have the parent pointer inside child you can easily access any public method of parent.
Bookmarks