65,186
社区成员




#include <iostream>
#include <stdlib.h>
using namespace std;
int myget( int a,int b);
int main()
{
int c=0;
c = myget(1,0);
system("pause");
return 0;
}
int myget( int a,int b)
{
int k=0;
try
{
k = a /b;
}
catch(...)
{
cout << "error 12" << endl;
k=-1;
}
return k;
}