-
酒店时钟源码
应用背景
定义一个类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
-
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
-
visual c++ 代码开发程序
visual c++ 代码开发程序-visual code development process
- 2022-08-05 12:27:18下载
- 积分:1
-
用WindowsAPI访问INI文件
用WindowsAPI访问INI文件-with WindowsAPI visit INI file
- 2022-03-18 05:13:31下载
- 积分:1
-
Breakout game, is divided into more closed, Main to run a function
打砖块游戏,分为多关,Main为运行函数-Breakout game, is divided into more closed, Main to run a function
- 2022-04-10 19:46:22下载
- 积分:1
-
java 教程与实例
Java 教程与实例,英文版。目录Table of Contents Context Computers and Software systems ComputersSystem Software System Systems programs and systems programmers – a possible source of confusionComputer programming language
- 2023-09-03 08:20:05下载
- 积分:1
-
PHP初学者头疼问题总结:页面之间无法传递变量 get,post,session在最新的php版本中自动全局变量是关闭的,所以要从上一页面取得提交过来得变量要使...
PHP初学者头疼问题总结:页面之间无法传递变量 get,post,session在最新的php版本中自动全局变量是关闭的,所以要从上一页面取得提交过来得变量要使用$_GET[ foo ],$_POST[ foo ],$_SESSION[ foo ]来得到
-PHP beginners headaches conclusion : pages are unable to pass variables get, post, session in the latest php version of global variables is automatically closed. Therefore, we should proceed from the field Previous submit them to be used in the variable $ _GET [foo] $ _POST [foo], $ _SESSION [foo] to be
- 2022-11-25 07:15:03下载
- 积分:1
-
prepared using the GPS standard fitting procedures, to include some basic fittin...
用 c++编写的GPS水准拟合的程序,包含一些基本的拟合方法。-prepared using the GPS standard fitting procedures, to include some basic fitting method.
- 2022-02-20 14:48:36下载
- 积分:1
-
uCOS
uCOS-II嵌入式操作系统在PIC18上的移植-uCOS-II embedded operating system in the PIC18 on the transplant
- 2023-01-18 12:15:03下载
- 积分:1
-
实际对象的数学模型并不清楚,难以控制。
针对实际对象数学模型不明确而难以控制的问题,采用人工免疫网络的离散模
型与学习算法,将人工免疫系统与神经网络结构的优势相结合,提出了一种基于人工免疫
网络的模式识别算法,构造了对象识别的人工免疫网络模型.该算法综合了网络节点的定
位与参数调整以及对基函数的平滑因子实施调谐等功能,有效地解决了径向基函数
(RBF)神经网络模式识别的两个阶段任务,使模式识别的精度有较大的改进.采用两个不
同对象函数进行的仿真试验表明,该算法具有快速收敛性与较高的准确性.
-Mathematical model for the actual object is not clear and difficult to control the problem, the use of artificial immune network model and the discrete learning algorithm, artificial immune systems and neural networks combine the advantages of structure, an artificial immune network based on pattern recognition algorithms, Construction of the object identified by artificial immune network model. the algorithm is a combination of network nodes to adjust the position and parameters as well as the basis function implementation of the smoothing factor, tuning and other functions, to effectively solve the Radial Basis Function (RBF) neural network pattern recognition of two phase of the task, so that the accuracy of pattern recognition have greater impro
- 2022-05-19 12:01:11下载
- 积分:1