-
酒店时钟源码
应用背景
定义一个类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
-
DOS系统下真彩显示24KBMP图象的源程序
DOS系统下真彩显示24KBMP图象的源程序-DOS system 24KBMP true color images show the source code
- 2022-11-17 01:40:03下载
- 积分:1
-
数码管显示程序,用C语言编程实现,适合初学者学习
数码管显示程序,用C语言编程实现,适合初学者学习-Digital tube display program, using C programming language, suitable for beginners to learn
- 2022-02-07 23:22:52下载
- 积分:1
-
testcurve
一个在窗口显示实时曲线的源代码程序,非常不错-testcurve
- 2022-08-22 16:32:13下载
- 积分:1
-
官方下载的数据库分析和适合不知道怎么用希望有知道者调试下...
官方下载的数据库分析和适合不知道怎么用希望有知道者调试下-Download the official database for analysis and do not know how to use them would like to know who has the next debug
- 2022-05-20 17:26:54下载
- 积分:1
-
一个猜数字的小游戏,初学C++的朋友可以下一下看一下效果哦!
一个猜数字的小游戏,初学C++的朋友可以下一下看一下效果哦!-A small猜数字games, learning C++ friends can look at the effect of the next Oh look!
- 2022-03-16 16:25:02下载
- 积分:1
-
对海量图像进行分块索引,可以不限数据量大小对图像进行漫游。
使用办法,首先选择图像处理中导出索引这一功能,将海量的BMP图像格式转换为自定义的img格式,再...
对海量图像进行分块索引,可以不限数据量大小对图像进行漫游。
使用办法,首先选择图像处理中导出索引这一功能,将海量的BMP图像格式转换为自定义的img格式,再在打开菜单中打开IMG格式的影像,就可以完成对海量数据的浏览,数据量不受内存限制,只受硬盘大小限制,另外该软件还包括其他一些图像格式之间的转换,主要用在GIS领域-Images of the mass block index, you can open the volume of data roaming size image. Use practices, the first choice of image processing to export the index of this function, will be massive conversion of the BMP image format for custom img format, and then open the menu opens in IMG format images, you can complete the huge amount of data browsing, data not subject to memory limitations, only by hard drive size limit, while the software also includes a number of other conversion between image formats, mainly used in the field of GIS
- 2022-07-15 12:41:07下载
- 积分:1
-
益智游戏
益智游戏-贴方块,J2ME开发,手机NOKIA S60版本,160关-puzzle games- affixed chunks and J2ME development, Nokia S60 mobile phone version, 160 clearance
- 2022-11-21 00:55:03下载
- 积分:1
-
打兔子游戏,datuzi,仅供参考,代码不是很完美
打兔子游戏,datuzi,仅供参考,代码不是很完美-Rabbit playing the game, datuzi, only for reference, the code is not perfect
- 2022-03-05 20:57:37下载
- 积分:1
-
16位循环冗余校验的4位查表法,用法在文件内有祥细说明
16位循环冗余校验的4位查表法,用法在文件内有祥细说明
- 2022-07-23 04:36:20下载
- 积分:1