int main(void)
{
int d2 = 0;
int r = 0;
cin >> d1;
cin >> d2;
// 使用try...catch...捕获异常
try
r=division(4,0);
cout<<"The result of x/y is : "<<r<<endl;
}
catch(int &e)
cout<<e<<endl;
return 0;
慕的地6079101
qq__5690
东方既白233
onemoo
相关分类