A
aaragon
Hi everyone,
I wrote some code for a class but then I decided that I wanted to
inherit from this class. Well, it turns out that now I have to put
"this->" in front of all the member variables of the class that I'm
inheriting from in order to compile correctly. Is there another way to
do this? There has to be a way to define an alias command so I can
define it once and then use my original names.
Thank you,
a^2
I wrote some code for a class but then I decided that I wanted to
inherit from this class. Well, it turns out that now I have to put
"this->" in front of all the member variables of the class that I'm
inheriting from in order to compile correctly. Is there another way to
do this? There has to be a way to define an alias command so I can
define it once and then use my original names.
Thank you,
a^2