//************************************ //try terminate function //************************************ #include #include using namespace std; void my_terminate(){ cout<<"my_terminate\n"; cout<<"inserted value problem!\n"; abort(); } int main(){ set_terminate(my_terminate); try{ throw 100; } catch(char *str){ } return 0; }