- 1
- 0
- 约6.6千字
- 约 27页
- 2016-12-04 发布于江苏
- 举报
Chapter 14 Exception Handling §14.1 Basics §14.2 Exception Classes §14.3 Multiple Catches §14.4 Exception Propagation and Rethrow §14.5 Exception Specification * §14.1 Basics Listing 14.1: to read in two integers and displays their quotient * Quotient Run int main(){ cout Enter two integers: ; int num1, num2; cin num1 num2; cout num1/num2 is (num1 / num2) endl; return 0; } If you enter “0” for num2, then? A runtime error! Exception: the situation/condition that may cause a program can’t terminate normally. Naive Exception Handling Listing 14.2: Adding an if statement to te
您可能关注的文档
最近下载
- 2025年河南省中考英语真题卷(含答案与解析).pdf VIP
- 大庆市2026届高三(二模)地理试卷(含答案).pdf
- 第九章 回归与相关 医学统计学课件.pptx VIP
- 雅马哈船外机F200B FL200B中文维修手册.pdf VIP
- 卫生员技能鉴定备考题库及答案.doc VIP
- (新版)卫生员职业技能鉴定复习备考题库大全-下(判断题).doc VIP
- (新版)卫生员职业技能鉴定复习备考题库大全-中(多选题).doc VIP
- 文华期货软件指标公式源码期货软件最准指标 股指期货指标公式.doc VIP
- 32-河南郑州2026届一模试卷.pdf VIP
- (新版)卫生员职业技能鉴定复习备考题库大全-上(单选题).docx VIP
原创力文档

文档评论(0)