-
(17.7k)程序员演示如何创建一个COM库。zip包含两个问题。
(17.7k) ComLib demonstrates how to create a COM library. The zip contains two projects, one for the library and one for the test programme. There is also a readme.txt. Don t forget to register the dll before trying to run the test app from a console window. -(17.7k) ComLib demonstrates how to create a COM library. The zip contains two projects, one for the library and one for the test programm e. There is also a readme.txt. Don t forget to reg ister the dll before trying to run the test app fr om a console window.
- 2022-05-13 11:33:17下载
- 积分:1
-
老鼠走迷宫。。。用回溯法求解。。。。矩阵记载迷宫资料
老鼠走迷宫。。。用回溯法求解。。。。矩阵记载迷宫资料-Maze rats. . . Method with backtracking. . . . Recorded in the maze of information matrix. . . .
- 2022-01-25 23:54:15下载
- 积分: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
-
C函数查询工具,用VC编写,基本上每个函数都有例子。
C函数查询工具,用VC编写,基本上每个函数都有例子。-C function query tool, prepared by VC basically have examples for each function.
- 2022-06-17 16:03:53下载
- 积分:1
-
上三角矩阵压缩存储类,用c++描写的,数据结构中的
上三角矩阵压缩存储类,用c++描写的,数据结构中的-Upper triangular matrix stored compression type, using c++ description, data structure
- 2023-03-18 06:15:03下载
- 积分:1
-
database
database
- 2022-05-05 01:06:22下载
- 积分:1
-
PowerBuilder的JSP
;
- 2022-01-25 18:18:15下载
- 积分:1
-
Visual C Multimedia Development Guide matching source. See said
Visual C++多媒体开发指南配套源码.看看在说了-Visual C Multimedia Development Guide matching source. See said
- 2022-02-15 16:51:01下载
- 积分:1
-
c8051的I/O 端口的输入输出实验,实现开关量的控制,输入口连接键盘,输出口连接发光二级管。...
c8051的I/O 端口的输入输出实验,实现开关量的控制,输入口连接键盘,输出口连接发光二级管。-c8051 The I/O port input and output of the experiment, the realization of the control switch, connect the keyboard input, output LED connections.
- 2023-04-13 23:05:04下载
- 积分:1
-
rdesktop (远程桌面)
远程桌面服务器和客户端
你的猫使用它来连接到 windows rdp 的服务器。
- 2022-02-21 21:42:49下载
- 积分:1