Professional Documents
Culture Documents
Session 15 (Exception Handling) PDF
Session 15 (Exception Handling) PDF
Hardware Problems
catch
End of demonstration
catch(int d)
{cout<<“Integer caught”;}
}
unexpected ( )
abort ( )
Linux, C, C++ / Object Oriented Programming with C++ / Session 15 / 16 of 19
Special functions (1)
terminate ( ) unexpected ( )
abort ( )
unexpected ( )
abort ( )
Immediate program termination
unexpected ( )
abort ( )
Immediate program termination