:help: :help: :help:
like i said previously, i'm no C++ Guru.
say i had
class a{};
class b::a{};
class c::a{};
ok i use the class a to basically give me common ground between b and c, now, if i have a function that returns a type of class a, how do i type cast that into type b?
like this, the function has an object that is of class b(which is also part of class a), the function returns a type of class a, but i want to typecast it back to type b, this is'nt even making sense to me, LOL, hopefully someone out there will know what i'm talking about.
|