S
Sowen
Hi, all
for example
in my parent class, I define "virtual bool operator==(const parent &other);"
In my children class, I need to override this method, how can I convert
"parent &other" to children so that I can access
((children)other).getChildName()
I know it's not correct in C++, can I do that ?
Thanks !
--
Best Regards!
Sowen Cheung
http://com.angGoGo.com
http://www.angGoGo.com
http://biz.angGoGo.com
for example
in my parent class, I define "virtual bool operator==(const parent &other);"
In my children class, I need to override this method, how can I convert
"parent &other" to children so that I can access
((children)other).getChildName()
I know it's not correct in C++, can I do that ?
Thanks !
--
Best Regards!
Sowen Cheung
http://com.angGoGo.com
http://www.angGoGo.com
http://biz.angGoGo.com