So always keep this in mind: when there is a pointer member in class, define your own copy constructor and overload assignment operator.

goodman (goodman)
(#163347@0)
2001-8-11 -05:00

回到话题: 国内一家公司招聘C++ Programmer的面试题:

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

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