Thanks for your answer. I tried using virtual functions for this problem. But I don't know how to return a reference to the correct property. Could you give me a hint how this would look like in...
Type: Posts; User: KarinaErlang
Thanks for your answer. I tried using virtual functions for this problem. But I don't know how to return a reference to the correct property. Could you give me a hint how this would look like in...
Hi forum,
I am new to C++ and have the following problem. I create a class A from which I derive several other classes B1, B2, ... via inheritance. A member function f of A computes a specific...