attention: in C::C():M_B(&M_A), &M_A is not the pass value of M_B's constructor, but the initialization of the member M_B in C class. Therefore, this is a problem.

jami (jami)
(#154474@0)
2001-8-3 -05:00

回到话题: 这是一家公司C++面试题,以下代码有什么错误?

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论

URL:   
http://www.rolia.net/zh/post.php?f=0&p=154474