This website requires Javascript to function properly. Please go to the setting of your web browser and enable Javascript for this website.
×
Loading...
Close
Home
Share
The only error here is the destructor should be defined as: ~A(){} , ~B(){}. Don't just declare them as : ~A();~B();
guest:Zack
(#155198@0)
Last Updated: 2001-8-3
This post has been archived. It cannot be replied.
Share
Report
Replies, comments and Discussions:
这是一家公司C++面试题,以下代码有什么错误?
枫下论坛主坛
/
工作学习
/
IT技术讨论