×

Loading...

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)
2001-8-3 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: 这是一家公司C++面试题,以下代码有什么错误?

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论