c++ pphtp4_PPT_13.pptVIP

  • 6
  • 0
  • 约2.36万字
  • 约 39页
  • 2017-02-01 发布于河南
  • 举报
cpphtp4_PPT_13

Chapter 13 - Exception Handling 13.1 Introduction Exceptions Indicates problem occurred in program Not common An exception to a program that usually works Exception Handling Resolve exceptions Program may be able to continue Controlled termination Write fault-tolerant programs As an example, we will handle a divide-by-zero error 13.2 Exception-Handling Overview Consider pseudocode Perform a task If the preceding task did not execute correctly Perform error processing Perform next task If the preceding task did not execute correctly Perform error processing Mixing logic and error handlin

文档评论(0)

1亿VIP精品文档

相关文档