Hello,
I would like to know how can i get the name of the base class of my object,
for example:
class A{};
class B: public A {};
class C{}:public B{};
C c;
GetBaseClass(c) ;
I would like that the fonction return me: C or B or A.
because my application verify if c has a type of A or B or C else ......
thanks.
I would like to know how can i get the name of the base class of my object,
for example:
class A{};
class B: public A {};
class C{}:public B{};
C c;
GetBaseClass(c) ;
I would like that the fonction return me: C or B or A.
because my application verify if c has a type of A or B or C else ......
thanks.
Comment