Thanks for sharing! That's really a tricky part of virtual functions.
-hailstorm(寒冰雨);
2002-11-27(#880764@0)
unbelievable. You must be good on programming. Otherwise, how come you answer a so concrete problem.
-sdfsdf(不是老虎);
2002-11-28(#881999@0)
Here 3 reasons1,Override函数原型须和base class里的virtual function prototype 一致。
2,函数o\Overloading须在same scope!!!!.
3,class A cannot be casted to B implicitly
-kkkkkkkk(Toronto123);
2002-11-27{157}(#880898@0)
I think this a problem of C++ design, if you give me encouragement, I would like to write a essay to argue with the C++ creator.
-mantou(馒头);
2002-11-28(#881994@0)