正在加载图片...
catch( Expt E) cout<<"在 catch异常处理程序中。" < endl: cout<<"捕获到Expt类型异常:"; cout < E.ShowReason(<< endl; catch( char *str cout<<"捕获到其它的异常:"<<str < endI: cout<<"回到main函数。从这里恢复执行。" < end: return 0catch( Expt E ) { cout << "在catch异常处理程序中。" << endl; cout << "捕获到Expt类型异常:"; cout << E.ShowReason() << endl; } catch( char *str ) { cout << "捕获到其它的异常:" << str << endl; } cout << "回到main函数。从这里恢复执行。" << endl; return 0; }
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有