-
VC制作滚动轴的使用单
VC制作滚动轴的使用单-VC production rolling the use of single-axis
- 2022-03-17 07:03:51下载
- 积分:1
-
计算机并口控制软件源代码可以向并口发送数据也可一解数据...
计算机并口控制软件源代码可以向并口发送数据也可一解数据-computer parallel port to control the source code software can send data to the parallel port can be a solution data
- 2022-02-20 07:45:04下载
- 积分:1
-
c语言实现的界面程序
c语言实现的界面程序-C Language Interface procedures
- 2022-01-25 21:54:47下载
- 积分:1
-
语音识别孤立
孤立的孤立词语音识别的孤立词语音识别语音识别
- 2022-03-25 20:13:50下载
- 积分:1
-
显示软件的阿什维尼雷达
typedef 结构 _Timestamp
{
无符号短时间 ;
无符号短分钟 ;
无符号短秒 ;
无符号的短毫秒为单位) ;
} S_Timestamp ;
typedef 结构 _PrimaryReports
{
无符号短 messageHeader ;//33031
无符号短 rangeSpread ;
无符号短 azimuthSpread ;
无符号短 filterNumber ;
浮动范围 ;
浮法方位 ;
浮法高程 ;
浮法 multipleElevation [3] ;
浮法强度 ;
} S_PrimaryReport ;
typedef 结构 _PrimaryReportsPerCpi
{
无符号短 messageHeader ;/ / 34952
无符号短 numberOfReports ;
无符号短 cpiNumber ;
无符号的短保留 ;
//float 纬度 ;
//float 经度 ;
S_Timestamp 时间戳 ;
S_PrimaryReport primaryReports [MAX_PRIMARY_REPORTS_PER_CPI] ;
} S_PrimaryReportsPerCpi ;
DetectionDataInterface.MultiCastInit("225.0.0.1",44902) ;
- 2023-05-06 06:10:02下载
- 积分:1
-
java异常处理
3.8 异常处理
什么是异常
知道Java异常分类
处理异常的两种方式
throw和throws区别
如何创建自定义异常
概念:
在程序中,可能产生程序员没有预料到的各种错误情况,比如打开一个不存在的文件等,在Java中,这种在程序运行时可能出现的错误称为异常。
异常可以把“描述在正常执行过程中做什么事”的代码和“出了问题怎么办”的代码相分离
例子:demo05.ExceptionDemo.java
Java异常分类A:
java.lang.Error,java.lang.Exception
Error(错误):jvm系统内部错误、资源耗尽等严重问题,发生Error时,编程人员无能 为力,只能终止程序,例如内存溢出等。
Exception(异常):因编程错误或偶然的外在因素导致的一般性问题,例如:对负数 开平方根、空指针访问等,当发生Exception 时,编程人员可以做出处理,并做出人性 化响应,比如弹出窗口,显示“请不要输入负数!”。
异常分类B:
检查性异常:编译器必须处理的异常,该类异常通常是Exception类型或其子类(RuntimeException类除外)//运行时异常
SQLException、IOException、ClassNotFoundException
例子:/DemoProject/src/com/hyg/demo08/FileInputStreamDemo.java
非检查性异常:编译器不要求强制处理的异常,RuntimeException类及其所有子类都是非检查性异常。
NullPointerException、ClassCastException
例子:equa
- 2022-02-14 14:02:16下载
- 积分:1
-
331 games. Very classic, but there are some functional deficiencies, and that ne...
五子棋联网游戏。很经典的,不过还有一些功能上的不足,这是需要改进的地方。-331 games. Very classic, but there are some functional deficiencies, and that needs improvement.
- 2022-05-07 17:13:07下载
- 积分:1
-
c#获取进程名称
csharp语言(c#) 获取进程名称完整工程 包含源代码 可运行 有注释 获取系统进程信息 包含 System.Diagnostics.Process 类 using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Diagnostics;
- 2022-05-25 09:51:27下载
- 积分:1
-
wince embedded under the text painted hook
wince下的嵌入式文本勾绘以及描述,侧重于文字字体选择-wince embedded under the text painted hook
- 2022-08-14 12:06:36下载
- 积分:1
-
两台机器之间的串口通讯:是本人用vc开发的一款可以进行两台机器之间通讯的小程序...
两台机器之间的串口通讯:是本人用vc开发的一款可以进行两台机器之间通讯的小程序-between the two machines serial communication : I used vc development of the two new machines can be communication between the small program
- 2022-01-22 07:35:23下载
- 积分:1