- fdtd_method_with_boundary_condition_of_PMC 一个位于光子晶体中心的线光源(TM)传播程序
- LC698S评估板 这个是我的图
- AeqB Develop computer programs for simplifying sums that involve binomial coe±cients
- lock 4×4键盘及8位数码管显示构成的电子密码锁
- led-player.tar Good Led Controller with full demonstration for SBC 2440
- Shablon_XP coe for LPT analyzer and controller
文件名称:21-8
介绍说明--下载内容来自于网络,使用问题请自行百度
/* 范例:21-8 自定义例外类 */
当读者输入y的数值是0的话将会发生异常,并激活异常处理类
程序执行结果﹕
Project p21-8.exe raised exception class DividByZero with message Exception Object Address: 0x69346A . Process stopped. Use Step or Run to continue.
Please Input Two Numbers,i除以j, i/j:
5
0
算数异常,x不能除以0,这是自定义异常类!
按Enter键继续...
当读者输入y的数值是0的话将会发生异常,并激活异常处理类
程序执行结果﹕
Project p21-8.exe raised exception class DividByZero with message Exception Object Address: 0x69346A . Process stopped. Use Step or Run to continue.
Please Input Two Numbers,i除以j, i/j:
5
0
算数异常,x不能除以0,这是自定义异常类!
按Enter键继续...
(系统自动生成,下载前可以参看下载内容)
下载文件列表
21-8.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.