-
酒店时钟源码
应用背景
定义一个类Clock
属性有hour、minute、second
功能有display(显示时间)、set(设置时间)和tick(走一秒)
为Clock添加静态成员count,并初始化,在测试代码中先后声明两个钟
2、类的组合:定义Time类,定义Clock2,属性为Time型变量time
3、(从1中)派生一个类HotelClock
属性有hour、minute、second、city(注意:属性继承v.s.新增)
功能有display、set和tick(注意:哪些功能需要重写)
测试代码中声明一个长度为3的HotelClock数组,分别存北京、东京(比北京晚1个小时)和纽约时间(比北京早15个小时),并输出。
4、为HotelClock类重载
- 2023-04-03 23:50:04下载
- 积分:1
-
利用传统的波束形成方法和music算法对宽带信号的DOA进行估计的仿真程序。...
利用传统的波束形成方法和music算法对宽带信号的DOA进行估计的仿真程序。-Using traditional methods and music beamforming algorithm to wideband signal DOA estimation of the simulation program.
- 2022-04-06 14:51:12下载
- 积分:1
-
拼图游戏毕业设计毕业论文 利用flash mx
对毕业生起参考作用...
拼图游戏毕业设计毕业论文 利用flash mx
对毕业生起参考作用-Jigsaw puzzle design graduate thesis on the use of flash mx reference to the role of graduates from
- 2022-01-25 23:56:22下载
- 积分:1
-
AVS的测试码流文件,大家一起来用吧
AVS听说过吧?用OPENAVS软件就可以看了
赶紧下吧,...
AVS的测试码流文件,大家一起来用吧
AVS听说过吧?用OPENAVS软件就可以看了
赶紧下吧,-AVS test bitstream paper, we used up a AVS heard of it? OPENAVS use software can be read quickly under the bar,
- 2022-02-05 19:38:35下载
- 积分:1
-
直线二级倒立摆的LQR控制算法,仿真效果较好
直线二级倒立摆的LQR控制算法,仿真效果较好-2 inverted pendulum LQR control algorithm
- 2023-07-26 06:15:02下载
- 积分:1
-
一款很不错的函数作图工具,可以依照不同需求做出函数图象.特别适用于数学建模作图需要...
一款很不错的函数作图工具,可以依照不同需求做出函数图象.特别适用于数学建模作图需要-A very good function mapping tools, they can make different demands function images. Particularly applicable to the mathematical modeling mapping needs
- 2022-01-26 03:18:57下载
- 积分:1
-
c语言做的课程设计,通过实现二叉树来对书籍进行操作
c语言做的课程设计,通过实现二叉树来对书籍进行操作-c language to the curriculum design, through the realization of a binary tree to operate on the books
- 2023-06-28 10:55:03下载
- 积分:1
-
DOS下SVGA图像编程实例,支持汉字。
DOS下SVGA图像编程实例,支持汉字。-SVGA graphics under DOS programming examples to support Chinese characters.
- 2023-02-20 00:35:03下载
- 积分:1
-
文件方式读写DBF的类库,具体接口请看头文件。
文件方式读写DBF的类库,具体接口请看头文件。-DBF papers to read and write the class library, see the specific interface header file.
- 2022-04-21 05:02:46下载
- 积分:1
-
added to the website calendar of events, the correlation between the ease of com...
在网页中添加事件日历,便于相互之间的通信和交流,同时提供编辑,删除过期事件等功能!-added to the website calendar of events, the correlation between the ease of communication and exchange, while providing editing, deletion of expired incidents function!
- 2022-07-23 08:59:03下载
- 积分:1