例12-2异常处理时的析构 include <iostream. h> void My Func( void ) class Expt i public: Exprot: Expt(f; const char*ShowReason( const return"Expt类异常。"; 了一页休息前一页 休息 例12-2 异常处理时的析构 #include <iostream.h> void MyFunc( void ); class Expt { public: Expt(){}; ~Expt(){}; const char *ShowReason() const { return "Expt类异常。"; } };