-
酒店时钟源码
应用背景
定义一个类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
-
ntop official documentation and installation configuration files, ntop which is...
ntop官方文档及安装配置文件,其中ntop是基于sniffer的一种网络监控工具.-ntop official documentation and installation configuration files, ntop which is based on a network sniffers monitoring tools.
- 2023-04-19 15:00:03下载
- 积分:1
-
tsr驻留程序的演示源程序
tsr驻留程序的演示源程序-tsr resident program demonstration source program
- 2023-05-30 05:15:03下载
- 积分:1
-
你想没有硬件就跑μc OS吗,这里提供了一个虚拟的硬件设备,可以让你模拟真实的硬件环境...
你想没有硬件就跑μc OS吗,这里提供了一个虚拟的硬件设备,可以让你模拟真实的硬件环境-You want to run there is no hardware μc OS you, here provides a virtual hardware device that lets you simulate real hardware environment
- 2023-08-09 10:05:04下载
- 积分:1
-
JAVA记事本源代码
JAVA记事本源代码 -JAVA source code of Java notebook source code of Java notebook source code
- 2022-08-25 22:13:36下载
- 积分:1
-
一个简单的JAVA小旅馆的程序,功能简单,课程设计的作业
一个简单的JAVA小旅馆的程序,功能简单,课程设计的作业-a simple Java small hotel procedures, functions simple, curriculum design operations
- 2022-07-11 12:52:03下载
- 积分:1
-
wedding photography customer management systems, the interface was very beautifu...
婚纱摄影客户管理系统,界面非常漂亮,希望大家能喜欢-wedding photography customer management systems, the interface was very beautiful, I hope you will like!
- 2022-02-04 03:28:22下载
- 积分:1
-
DSp原理及应用第8章程序源码,可以将你进一步引入Dsp开发行列...
DSp原理及应用第8章程序源码,可以将你进一步引入Dsp开发行列-DSp principle and application procedures Chapter 8 source, we can introduce you to further develop the ranks Dsp
- 2022-06-26 03:21:35下载
- 积分:1
-
前几天看到有人在论坛上寻找二进制浏览、编辑代码,自己前几天又不是很忙,就摸索着写了这个程序...
前几天看到有人在论坛上寻找二进制浏览、编辑代码,自己前几天又不是很忙,就摸索着写了这个程序-saw a few days ago was at the Forum for binary view, edit code, a few days before his is not so busy, writing on the exploration of this process
- 2022-02-24 11:58:38下载
- 积分:1
-
planning how to succeed in life, and planning how to succeed in life planning ho...
规划如何在生活中成功,规划如何在生活中成功规划如何在生活中成功。
- 2022-11-22 12:50:03下载
- 积分:1