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

酒店时钟源码

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

  • c语言的PID控制算法程序,作为工业控制中的一种常用控制算法PID运算。...
    c语言的PID控制算法程序,作为工业控制中的一种常用控制算法PID运算。-c language PID control algorithm procedures for industrial control of a PID control algorithm commonly used operations.
    2022-09-15 07:05:03下载
    积分:1
  • Sokoban, a kind of intellectual game, with diphi series, things have, after the...
    推箱子 ,一种智力游戏,用diphi 编的,东西还有,以后再传 -Sokoban, a kind of intellectual game, with diphi series, things have, after the send
    2022-04-17 03:52:25下载
    积分:1
  • 这是一个爱的礼物,那些谁收到礼物,打开的应用程序,将是一个。
    这是一份爱的礼物,收到礼物的人,打开应用程序,便能在屏幕上看到i love you的字样。-This is a gift of love, those who receive the gift, open applications, will be able to see on the screen the words i love you.
    2022-03-07 08:46:37下载
    积分:1
  • 连连看小游戏连连看的见之间实现和平是没有区别的…
    实现连连看游戏 和平时看到的连连看没什么分别,初学c++可以参考代码-Lianliankan game to achieve peace Lianliankan see no difference between the beginner c++ can refer to the code
    2023-07-28 02:30:04下载
    积分:1
  • Vissim 到 visuol visulbasic
    Vissim 到 visuol visulbasic Vissim ile visulabasic referans ekleyerek similasyonda ki parametreleri okumak veya yeni değerleriyle 设置 etmek için yazılmış 标准 bir uygulama
    2023-05-27 23:20:02下载
    积分:1
  • 印加代码是一种容易学会并且引人入胜的难题比赛.在森林深处蕴含着五颜六色的印加球,你需要通过收集印加球,并移动到正确位置然后就会形成印加代码....
    印加代码是一种容易学会并且引人入胜的难题比赛.在森林深处蕴含着五颜六色的印加球,你需要通过收集印加球,并移动到正确位置然后就会形成印加代码.-Inca code is a kind of easy to learn and engaging puzzle games. Deep in the forest contains a colorful Inca ball, you need through the collection of the Inca ball, and move to the correct location and then the code will be the formation of the Inca.
    2023-05-26 12:30:04下载
    积分:1
  • 从ACDSee PowerPack V7.0.62(YY汉化版)中提取出来的好用的图片编辑处理软件...
    从ACDSee PowerPack V7.0.62(YY汉化版)中提取出来的好用的图片编辑处理软件 --- ACD Photo Editor 3,1,44,2 汉化精简绿色版!ACDSee越来越庞大,实用性却不见得越来越好,对我有吸引力的只是其中的ACD Photo Editor。-From the ACDSee PowerPack V7.0.62 (YY汉化version) extracted by the treatment-to-use picture editing software--- ACD Photo Editor 3,1,44,2汉化streamline green version! ACDSee more and more large, more and more practical but not necessarily better, for me there is only one of the attractiveness of the ACD Photo Editor.
    2022-02-21 10:21:50下载
    积分:1
  • 中国科学院研究生院,一个非常受欢迎的课程(C++程序…
    中科院研究生院非常火爆的一门课程(C++程序设计)课件,由杨力祥老师主讲。-Chinese Academy of Sciences, Graduate School a very popular course (C++ Program design) courseware by teachers Speaker Xiang Yang Li.
    2022-02-05 18:12:28下载
    积分:1
  • 工作流模版设计工具,本来是为一个项目配套开发的, 后来因种种原因没有使用。非立项的东西,自然是自己 的了。欢迎共同探讨联。 源代码是Delph...
    工作流模版设计工具,本来是为一个项目配套开发的, 后来因种种原因没有使用。非立项的东西,自然是自己 的了。欢迎共同探讨联。 源代码是Delphi实现的,Templet中本来有很多图的,都 删掉,自己尝试画吧 Mail: Hanfi@163.com MSN gdsoft@msn.com 行水流云-workflow template design tool was originally a project for supporting the development, and later, for various reasons, have not used. Non-establishment of the things that is naturally of their own. Welcome to explore together. Source code is Delphi, which was originally Templet many of the plans are deleted, try to plan it Mail : Hanfi@163.com MSN gdsoft@msn.com flow goes OK
    2022-05-21 09:38:02下载
    积分:1
  • Windows平台的图形用户界面下LibUIDK专业发展…
    LibUIDK是专业开发Windows平台下图形用户界面的开发包,该开发包基于Microsoft的MFC库。使用此开发工具包可轻易把美工制作的精美界面用VC实现,由于使用LibUIDK创建的控件都可以从控件工具栏中拖入,所以极大的提高了新产品的开发速度,并大大增强图形用户界面(GUI)的亲和力。LibUIDK还可以使您的软件轻松具有当今流行的换肤功能,以提高产品的竞争力。-LibUIDK professional development under Windows platform graphical user interface development kits, The development kit based on Microsoft"s MFC library. Use of this development kit can be easily produced by the exquisite graphic interface with VC. LibUIDK use, the controls can control tools from the column into. So greatly improved the development of new products speed and greatly enhanced graphical user interface (GUI) affinity. LibUIDK can also give your software easily with today"s popular skinnable to enhance the competitiveness of their products.
    2022-01-28 11:54:39下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载