搜索资源列表
inttext
- 一个将数字转换成文本(例如32转换成thirty two)--Program which transforms from digit to text (eg: transforms 32 to thirty two)
[p]singleton.eg
- 入门演示GOF初级模式经典的单态演示,但是是用pascal语言来实现,同时演示如何轻量级快速编译pascal小程序-GOF primary mode of entry-demo monomorphism classic presentation, but is pascal language to achieve, at the same time demonstrate how fast compiler pascal lightweight applet
ttest
- T检验,亦称student t检验(Student s t test),主要用于样本含量较小(例如n<30),总体标准差σ未知的正态分布资料。 T检验是用于小样本(样本容量小于30)的两个平均值差异程度的检验方法。它是用T分布理论来推断差异发生的概率,从而判定两个平均数的差异是否显著 -T test, also known as the student t test (Student' s t test), mainly used for small sample
puzzle
- 有一个迷宫,用一个二维数组maze[1: m][1: n]表示,其元素值只有两个:0与1。其中以值0表示该位置可以走通,以值1表示该位置阻塞。在迷宫的左上方maze[1][1]处有一入口,右下方maze[m][n]处有一出口,如图1-1所示。现要求探寻从迷宫入口到出口有无通路;若有,则指出其中一条通路的路径:将迷宫数组中通路上的0替换成另一数字(例如8),输出找到通路的迷宫数组;同时按照走通的顺序输出路径上每一步的位置坐标及向下一步前进的方向;若没有,则给出相应的信息。-There is a m
TRAFFIC2
- /*** *** *** *** *** *** *** *** *** *** *** *** ****/ /* */ /* TRAFFIC2.C: Traffic Light Controller using RTX-51 */ /* */ /* 17-NOV-1994 / EG */ /****************************************************************************/ /* Derived fr
viruscode
- windows下病毒原理演示代码,无攻击性。(如:在c根目录下生成一个空文件夹)为防备杀毒软件查杀,内容已加密,解密密码zrb 内部exe文件已改为txt格式 可直接txt打开阅读代码也可改为exe运行尝试-principle demonstration of the virus under the windows code, non-offensive. (Eg: in c root to generate an empty folder) to prepare for killing ant
utils
- 熟悉source insight的应该都知道其宏功能的强大吧。这是我自己精心修改的宏配置,共享给大家。主要是实现了几个精美的注释和插入当前时间(如06:35pm,30.Jul.2009)等。你可以根据自己的需求稍作修改(如作者名)。 使用说明: 可以实现在sourceinsight中快速添加修改注释。 1. Project->Open Project... 打开Base工程(该工程一般在我的文档\\Source Insight\\Projects\\Base中) 2.
Test
- Priorities: 1) Keep It Simple 2) Do not couple to any specific unit test framework. - use appropriate IdTest.pas units to plug into required framework. Units are named IdTest*, so they can be easily searched/listed. eg using UnitE
gif_sae
- gif_sample eg see sample,read sample
test2
- 老师让我们写个回文数的小程序,* 题目分析与算法设计 对于要判断的数n,计算出其平方后(存于a),将a的每一位进行分解,再按a的从低到高的顺序将其恢复成一个数 k(如n=13,则a=169且k=961),若a等于k则可判定n为回文数。-Let the teacher write a palindromic number of small programs,* the subject analysis and algorithm design is to determine the n
2
- 任意设计一个类(比如point类、RMB类、Student类等),要求 在类设计中对流操作符"<<"和">>"进行重载。在主程序中声明5个该 类的对象,然后将这5个对象分别以文本格式和二进制格式保存到当前目录的zrf.dat文件和zrf.bin中,之后再 以字符方式和二进制方式从文件中读取数据存储到另外5个临时对象中并输出。-Any design of a class (eg point type, RMB class, Student, etc.) requ
08061188
- 房屋租赁系统的设计与实现 增加新的房屋信息(要求输入房屋所在地区、面积等相关信息和租赁价格) 修改房屋信息 删除房屋信息 查找房屋信息(a按所在地区(如武昌区、洪山区等)查找;b按房屋面积查找c按租赁价格-Rental system design and implementation of the addition of new housing information (asked to enter housing area, size and other relevant
moravecxin
- 首先, 计算每个像素点的兴趣值, 即以该像素点为中心, 取一个w×w(如:5×5)的方形窗口, 计算0度、45度、90度、135度四个方向灰度差的平方和, 取其中的最小值作为该像素点的兴趣值。 其次,根据实际图像设定一个阈值,遍历图像以兴趣值大于该阈值的点为候选点。 最后,选一个一定大小的窗口,让该窗口遍历灰度图象,在此过程中取窗口中兴趣值最大的候选点为特征点,算法结束。 -First, calculate the value of each pixel of interest, t
eg
- DS18B20加1602的温度显示的C程序,读取温度,转换温度,显示温度等有详细程序对照-DS18B20 increase the temperature of 1602 shows C program, read the temperature, the transition temperature, the temperature of such a detailed process control!!
Eg03
- 一个串口示例编程源码,这里使用一个Pcomm的动态库,顺便介绍一下动态库和自定义消息的用法-Example of a serial programming source code, here using a Pcomm dynamic library, by the way tell us about the dynamic library usage and custom message
test
- 实现字符串CString(如2011-7-28)转换成CTime类的代码,仅适合初学者。-For string CString (eg 2011-7-28) into CTime class code is only suitable for beginners.
NFA-to-DFA
- Theory: NDFA: It is a mathematical model containing 5 tuples a) Q- finite non empty set elements of which are called as state. b) T- set of alphabets. c) δ- is a mapping function Q*{T {λ}}*2Q d) S-start state i.e. S ε Q e) F- F (su
Flight-information-management-system
- 查询航线、客票预定和办理退票等。具体功能有:1) 录入:可以录入航班情况(数据可以存储在一个数据文件中,数据结构、具体数据自定);2) 查询:可以查询某个航线的情况(如,输入航班号,查询起降时间,起飞抵达城市,航班票价,票价折扣,确定航班是否满仓);可以输入起飞抵达城市,查询飞机航班情况;3) 订票:(订票情况可以存在一个数据文件中,结构自己设定)可以订票,如果该航班已经无票,可以提供相关可选择航班;4) 退票: 可退票,退票后修改相关数据文件;5) 客户资料:有姓名,证件号,订票数量及航班情
2-1
- 1. 自定义一个示意性的复数类型complex,其中含有若干个成员函数,使用该类可以完成复数的加法以及对复数的输出。请完成类定义,并编制主函数,说明complex类对象,对定义的各成员函数进行调用。 class complex{ double real //复数实部 double imag //复数虚部 public: complex() //无参构造函数 complex(double r, double i) //2参构造函数 c
GetSysInfo
- 用VBS脚本编写的小程序,用来获取CPU的序列号,硬盘型号,显卡型号,获取系统进程名,网卡mac地址等。-get cpu ID,system information eg. hardisk,memory,graphy card type,system process,net card mac address etc.
