C++ 的 try/catch/throw
首先通过一个简单的例子来熟悉C++ 的 try/catch/throw(可根据单步调试来熟悉,try catch throw部分是如何运行的):复制代码#include <stdlib.h>#include "iostream"using namespace std;double fuc(double x, double y) //定义函数{ if(y==0) { throw