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

酒店时钟源码

于 2023-04-03 发布 文件大小:2.98 kB
0 233
下载积分: 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 个回复

  • 将tiff转换成PDF的源程序
    将tiff转换成PDF的源程序-Source code that can convert tiff format to pdf format
    2022-09-20 16:50:03下载
    积分:1
  • 包括使用修正Gram
    包括使用修正Gram-Schmit算法实现QR分解,自编LU分解、利用幂法和反幂法计算矩阵最大和最小特征值的程序。例外附有使用这些算法的例子供参考。 QR decomposition algorithm based on modified Gram-Schmit LU decomposition algorithm algorithm used to find maximum and minimum eigenvalue based on power and inverse power method and some examples are also included.-Including the use of Gram-Schmit amended QR decomposition algorithm, self-LU decomposition, the use of power law and inverse power method to calculate maximum and minimum matrix eigenvalue procedures. With the exception of the examples of the use of these algorithms for reference. QR decomposition algorithm based on modified Gram-Schmit LU decomposition algorithm algorithm used to find maximum and minimum eigenvalue based on power and inverse power method and some examples are also included.
    2022-02-20 19:43:09下载
    积分:1
  • 大连理工出版社,数据结构与算法(第三版)ppt
    大连理工出版社,数据结构与算法(第三版)ppt-Dalian Science and Technology Press, Data Structures and Algorithms (third edition) ppt
    2022-02-22 07:30:26下载
    积分:1
  • 有源滤波器主控芯片源代码
    有源滤波器主控芯片6713源代码,里面检测系统电压电流 计算出需要补偿的无功以及谐波 控制IIGBT驱动信号  输出电流信号完成有源滤波器的功能
    2022-07-26 18:22:55下载
    积分:1
  • Nobel Prize Winner's Paper
    Nobel Prize Winner s Paper-Nobel Prize Winner"s Paper
    2023-03-06 19:40:03下载
    积分:1
  • Russian square game (Java edition),
    使用java开发的俄罗斯方块游戏(java版),感觉还行。-Russian square game (Java edition),
    2022-03-21 05:19:42下载
    积分:1
  • 关于visual prolog三篇论文 1.VisualProlog智能集成开发环境评述 2.基于VisualProlog的面向对象知识表示 3.浅
    关于visual prolog三篇论文 1.VisualProlog智能集成开发环境评述 2.基于VisualProlog的面向对象知识表示 3.浅谈智能程序设计语言VISUALPROLOG的编程-Three papers on visual prolog 1.VisualProlog comments smart integrated development environment 2. VisualProlog-based object-oriented knowledge representation 3. VISUALPROLOG of intelligent programming language programming
    2022-07-18 18:36:05下载
    积分:1
  • 讲述如何用MATLAB实现绘图功能的PPT
    讲述如何用MATLAB实现绘图功能的PPT-This teaches you how to picture。
    2023-01-08 05:00:03下载
    积分:1
  • 一些非常有用的多
    一些很有用的小波包多尺度分解与重构的资料-Some very useful multi-scale wavelet packet decomposition and reconstruction of information
    2022-04-12 08:24:25下载
    积分:1
  • 运放设计的一些注意点,如何实际一个稳定的运放的一些小技巧...
    运放设计的一些注意点,如何实际一个稳定的运放的一些小技巧-OPAMP design point some attention to how real a stable OPAMP some tips
    2022-02-13 23:16:07下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载