-
Mypicture
定义4个类,MyShape、MyLine、MyRectangle和MyOval,其中MyShape是其他三个类的父类。MyShape为抽象类,包括图形位置的四个坐标;一个无参的构造方法,将所有的坐标设置为0;一个带参的构造函数,将所有的坐标设置为相应值;每个坐标的设置和读取方法;abstract void draw(Graphics g)方法。MyLine类负责画直线,实现父类的draw方法;MyRectangle负责画矩形,实现父类的draw方法;MyOval负责画椭圆,实现父类的draw方法。编写一个应用程序,使用上面定义的类,随机选取位置和形状,绘制20个图形。(Defines four classes, MyShape, MyLine, MyRectangle and MyOval, which MyShape the other three parent class. MyShape is an abstract class, including graphics position four coordinates a no-argument constructor, all the coordinates are set to 0 a parameterized constructor, all the coordinates is set to the corresponding values each coordinate set and reading method abstract void draw (Graphics g) method. MyLine class is responsible for drawing straight lines, to achieve the draw method of the parent class MyRectangle responsible for drawing rectangles, to achieve the parent class draw method MyOval responsible painted oval, draw method to achieve the parent class. Write an application that uses the class defined above, randomly selected location and shape, draw 20 graphics.)
- 2021-04-14 09:08:55下载
- 积分:1
-
IOCP(I/O Completion Port)Winsock例子
IOCP(I/O Completion Port)Winsock例子-IOCP(I/O Completion Port)Winsock example
- 2022-02-21 01:52:01下载
- 积分:1
-
Newspaper-subscription
报刊订阅管理系统.能够实现报刊订阅的基本功能,包括新报刊信息的录入、订阅、查询等操作以及后台数据库的备份和恢复。用户合法注册后必须输入有效密码才能成功进入此系统,可以进行订阅报刊,查询信息,统计信息等操作。对于非法操作,系统有识别和防护措施。
3)元件库存管理:库存的出、入库功能;
4)元件销售统计:统计日、月、季和年的销售量
5)元件查询功能:可对库存、销售进行查询。
(Newspaper subscription management system. To achieve the basic functions of subscriptions, including new press information input, subscription information, operation, and back-end database backup and recovery. After registration the user must enter a valid legal order to successfully enter the system password, you can subscribe to newspapers, query information, statistics, and other operations. For the illegal operation, system identification and protection measures. 3) component inventory management: out of stock, storage functions 4) components sales statistics: Statistics Day, monthly, quarterly and annual sales of 5) element query function: to inventory and sales inquiries.)
- 2011-05-28 12:06:55下载
- 积分:1
-
此同学录系统为各在校计算机专业学生课程设计所准备
此同学录系统为各在校计算机专业学生课程设计所准备-this college system for the computers in the school curriculum design students prepared
- 2022-07-04 02:21:27下载
- 积分:1
-
指纹识别工具 实例源码下载
指纹识别实例
- 2013-02-02下载
- 积分:1
-
worih
说明: A very good general interface, has a very good practical value, worth studying
- 2018-12-22 01:28:00下载
- 积分:1
-
Interpolation-Technique-for-WZVC
The manuscript describes performance comparison of nearest-neighbor interpolation and bilinear to reduce the complexity of decoder WZVC.
- 2013-10-03 21:35:41下载
- 积分:1
-
bpnnet_156
在实际应用中,原始的BP算法很难胜任,因此出现了很多的改进算法。BP算法的改进主要有两种途径,一种是采用启发式学习方法,另一种则是采用更有效的优化算法。本例采用动量BP算法,来实现对网络的训练过程,动量法降低了网络对于误差曲面局部细节的敏感性,有效地抑制网络陷于局部极小。
(In practical applications, the original BP algorithm very difficult to do, so there were a lot of the improved algorithm. BP Algorithm There are two main channels, a heuristic learning method is adopted, another is the introduction of more efficient optimization algorithm. In this case the use of momentum BP algorithm to realize the network training process, momentum method to reduce the network error surface for the local details of the sensitivity of the network effectively inhibited in a local minimum.)
- 2008-06-16 20:29:09下载
- 积分:1
-
开发LDAP客户端的SDK,对资深开发人员很有帮助哦
开发LDAP客户端的SDK,对资深开发人员很有帮助哦-development LDAP client SDK, the senior development staff helpful oh
- 2022-02-25 09:20:52下载
- 积分:1
-
This source is getip an example of network programming under vc, vc to want to l...
此源码是getip的一个vc下网络编程实例,对于想学习vc下网络编程的新手是一个比较好的参考资料-This source is getip an example of network programming under vc, vc to want to learn network programming under the novice is a good reference
- 2022-01-28 22:54:30下载
- 积分:1