C++ Tip for Accessing Derived Class Functions Indirectly

2020, base class, c++, coding, computer science, Computers, Computing, derived class, functions, inheritance, pointers, static cast, tables

So, if you are a newb coder like me, and you are studying inheritance, and it all just seems to come crashing down when you can’t seem to access a derived class’s function, take heart! There’s always a way. Just passing along info. gleaned from the interwebs that was used in my team’s code that I found VERY helpful! See image above for more.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s