摘要: #include <iostream> using namespace std; void func(int a) { if(a == 0) { throw string("a is error"); throw a; } } int main() { try { func(0); } catch( 阅读全文
posted @ 2022-08-19 08:41 thomas_blog 阅读(19) 评论(0) 推荐(0)