C++语言程序设计 例122异常处理时的析构 include <iostream. h> void My Func( void class Expt I public: Expt()仆}; Exprot const char * ShowReasono const return"Expt类异常。C++语言程序设计 9 例12-2 异常处理时的析构 #include <iostream.h> void MyFunc( void ); class Expt { public: Expt(){}; ~Expt(){}; const char *ShowReason() const { return "Expt类异常。"; } };