Già che ci siamo ...
Perchè non funziona ?codice:#include <iostream> using namespace std; int main (int argc, char *argv[]) { try { int x = 1, y = 0 ,res = 0; res=x/y; } catch(exception& e) { cout << e.what(); } cin.get (); return EXIT_SUCCESS; }
Già che ci siamo ...
Perchè non funziona ?codice:#include <iostream> using namespace std; int main (int argc, char *argv[]) { try { int x = 1, y = 0 ,res = 0; res=x/y; } catch(exception& e) { cout << e.what(); } cin.get (); return EXIT_SUCCESS; }
Experience is what you get when you don’t get what you want