摘要: 一、一个例子 #include <iostream>using namespace std;int main(){ try { if (1) { throw exception(); //catch中用引用。// new throw exception(); //catch 中用指针。 } } catch (exception &e) { cerr << "catch except... 阅读全文
posted @ 2013-04-19 18:12 helloweworld 阅读(118) 评论(0) 推荐(0) 编辑