try { int p = 0; int q = 0; int r = p / q;//divide by zero exception } catch (???)//what should I write here instead of ???? { ..... }
try { int * p = 0; * p = 0; } catch (???)//what should I write here instead of ???? { }
try { // risky code } catch(Excetpion_Name& ex) { // handle here }
catch(...) { }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)