登录
首页 » 其他项目 » 酒店时钟源码

酒店时钟源码

于 2023-04-03 发布 文件大小:2.98 kB
0 211
下载积分: 2 下载次数: 1

代码说明:

应用背景  定义一个类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类重载

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 用VC编写的鼠标变换的代码
    用VC编写的鼠标变换的代码-VC prepared by the mouse transform the code
    2022-06-14 02:13:52下载
    积分:1
  • FIR数字滤波器广泛应用于数字通信系统的研究方法…
    FIR数字滤波器广泛应用在数字通信系统中,研究其实现方法具有重要意义。Matlab功能强大,利用Matlab辅 助设计DSP应用程序,可大大缩短DSP应用程序的开发时间。介绍了Matlab和CCS及DSP的连接,说明了利用Matlab辅 助DSP实现FIR数字滤波器的过程,及如何在Matlab环境中调试DSP程序,给出了实现结果,并把该结果和单纯在Matlab 环境下实现结果进行比较,前者效果更好,更具有实际应用价值。 -FIR digital filters widely used in digital communication systems, research methods of their realization of great significance. Matlab is powerful DSP using Matlab-aided design applications, can greatly shorten the DSP application development time. Describes the Matlab and CCS and DSP connections, shows DSP using Matlab support the process of realization of FIR digital filters, and how to debug in the Matlab environment, DSP program, are given to achieve results, and to the results and simple in the Matlab environment, achieved results are compared, the former better, more practical application value.
    2023-08-26 09:10:03下载
    积分:1
  • 交织 本程序是自己编写的随机交织 可以实现任意维度 任意长度 的交织 比起的实现方法更具有 推广型...
    交织 本程序是自己编写的随机交织 可以实现任意维度 任意长度 的交织 比起其他的实现方法更具有 推广型-Intertwined in this program is to prepare its own random interleaving can achieve any arbitrary length of the intertwined dimensions of the implementation is more than the other type has the extension
    2022-12-30 23:10:03下载
    积分:1
  • 检查光盘文件可读性的程序
    检查光盘文件可读性的程序-Check the CD-ROM documentation procedures readability
    2022-05-06 16:36:02下载
    积分:1
  • It s an online daily account. Can use this to key in daily expenses and it will...
    It s an online daily account. Can use this to key in daily expenses and it will show the summary. This system written using asp and ms access. Good for entry level programmer as reference.
    2022-05-30 16:50:02下载
    积分:1
  • 控制硬件仪器的软件,可以用于测试试验.是Chroma公司的交流电源...
    控制硬件仪器的软件,可以用于测试试验.是Chroma公司的交流电源-Software control of hardware devices that can be used for tests. Is the company
    2022-02-01 01:11:33下载
    积分:1
  • 万岁测试小程序,自己算算,第一行填上你的年月日,点一下按钮就可以了...
    万岁测试小程序,自己算算,第一行填上你的年月日,点一下按钮就可以了-testing procedures, calculate for themselves, the first line to fill in your date, the point button on the can
    2022-08-16 17:20:01下载
    积分:1
  • 计算器程序
    #include float add(float,float); float sub(float,float); float product(float,float); float divide(float,float); void main() 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-06-28 03:21:54下载
    积分:1
  • a book is about how the J2EE servlet played since own role.
    java Servlet编程一书是讲述servlet如何在J2EE中扮演自己的角色。-a book is about how the J2EE servlet played since own role.
    2022-08-21 17:00:42下载
    积分:1
  • 数独是一个链接solverr舞
    带舞蹈链接的数独解算器
    2022-11-18 07:40:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载