-
酒店时钟源码
应用背景
定义一个类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
-
一款不错的电子书籍制作工具eReader.rar
一款不错的电子书籍制作工具eReader.rar
-A good tool for the production of electronic books eReader.rar
- 2023-06-19 19:15:07下载
- 积分:1
-
该程序运用java实现客户端和服务器端的及时聊天,快捷方便
该程序运用java实现客户端和服务器端的及时聊天,快捷方便-It help you to chat with your friend from anywhere around the world.
- 2023-07-11 14:25:02下载
- 积分:1
-
基本图形的绘制的C程序
基本图形的绘制的C程序-basic graphics rendering the C program
- 2022-02-28 20:30:20下载
- 积分:1
-
使用函数实现简单的八位处理器
软件开发环境:ISE 7.1i
仿真环境:ISE Simulator
1. 这个实例实现通过ISE Si...
使用函数实现简单的八位处理器
软件开发环境:ISE 7.1i
仿真环境:ISE Simulator
1. 这个实例实现通过ISE Simulator工具实现一个可以进行两个八位操作数四种操作的简单处理器;
2. 工程在project文件夹中,双击mpc.ise文件打开工程;
3. 源文件在rtl文件夹中,mpc.v为设计文件,mpc_tb.tbw是仿真波形文件;
4. 打开工程后,在工程浏览器中选择mpc_tb.tbw,在Process View中双击“Simulation Behavioral Model”选项,进行行为仿真,即可得到仿真结果。-The use of a simple function to achieve the eight-processor software development environment: ISE 7.1i simulation environment: ISE Simulator 1. This example through the ISE Simulator tool to achieve the realization of a two operand four of eight simple processor operation 2. works in the project folder, double-click to open the project file mpc.ise 3. rtl source file in the folder, mpc.v documents for the design, mpc_tb.tbw is the simulation waveform files 4. to open a project, a browser in the works Select device mpc_tb.tbw, double-click in the Process View in the " Simulation Behavioral Model" option, to carry out acts of simulation, simulation results can be obtained.
- 2023-03-17 12:55:03下载
- 积分:1
-
串口程序 可以接受串口数据并进行数据处理和显示 是一个不错的数据终端...
串口程序 可以接受串口数据并进行数据处理和显示 是一个不错的数据终端-Serial procedures can accept serial data and data processing and display is a good data terminal
- 2023-06-02 21:45:03下载
- 积分:1
-
该程序是宽带相干源DOA估计中,相干信号子空间法的空间重采样的聚焦矩阵的构造的程序。...
该程序是宽带相干源DOA估计中,相干信号子空间法的空间重采样的聚焦矩阵的构造的程序。-The program is broadband DOA estimation of coherent sources, Coherent signal subspace spatial resampling matrix structure of the focusing process.
- 2022-03-15 18:34:41下载
- 积分:1
-
Aes 加密代码,只为测试,使用 C 语言
该应用程序向导创建的测试应用程序为您服务。该文件包含测试应用程序组件每个文件摘要的内容。Test.vcproj这是使用应用程序向导生成的VC++项目的主项目文件。它包含有关该文件的Visual C++版本的信息的产生的信息,并关于向导选择应用程序平台,配置和项目信息的功能。TEST.CPP这是主要的应用源文件。////////////////////////////////////////////////// ///////////////////////////其他标准文件:StdAfx.h中,StdAfx.cpp这些文件被用于生成名称test.pch预编译头(PCH)文件,名为StdAfx.obj式预编译的文件。////////////////////////////////////////////////// ///////////////////////////其他意见:应用程序向导使用“TODO:”注释指示应添加或源代码的定制部件。
- 2022-03-20 03:29:00下载
- 积分:1
-
POJ some computational geometry code title
POJ上一些计算几何题的代码-POJ some computational geometry code title
- 2022-02-03 14:09:20下载
- 积分:1
-
这个软件是纯的,然后运行一个硬盘驱动器,软盘驱动器的维修…
此软件是纯dos下运行 接一个待修的硬盘,软驱或者光驱启动 打hp执行,4次回车,然后按alt+m 按R 按o 回车就行了,等着他自动修理了吧-this software is pure dos then running a repair of the hard drive, floppy drive or start playing hp implementation, 4th Enter, then alt by R+ m by o Enter on the line, waiting for him to repair it by now.
- 2022-09-14 13:45:03下载
- 积分:1