资源列表
TxttoArrary2
- 这个程序是把txt格式的文档转换成二进制的文档,挺实用的,用c#语言编写的,谢谢支持!-This program is the txt document into a binary format of the document, very useful, with the c# language, Thank you!
max-and-min
- 算法与数据结构,分治算法求最大值最小值,也是一次作业-Algorithms and data structures, divide and conquer algorithm
BHcircle
- 数值微分(DDA)法: 设过端点P0(x0 ,y0)、P1(x1 ,y1)的直线段为L(P0 ,P1),则直线段L的斜率 L的起点P0的横坐标x0向L的终点P1的横坐标x1步进,取步长=1(个象素),用L的直线方程y=kx+b计算相应的y坐标,并取象素点(x,round(y))作为当前点的坐标。因为: yi+1 = kxi+1+b = k1xi+b+kDx = yi+kDx 所以,当Dx =1 yi+1 = yi+k。也就是说,当x
Ternary-search
- 在递归模式下实现三元搜索!三元搜索遵循相同的二叉搜索思想,但将向量分为3个部分,两个索引:一个为左侧,一个为右侧,第三个搜索为中间!-implement a ternary search in recursivity mode. The ternary search follows the same idea of binary search, but splitting the vector into 3 parts, two index: One for left and one to th
cujo
- hardware control programe
c
- 程序源代码,可以解决一些实验中遇到的很多问题,很有用,很实用。-The program source code, can solve a lot of problems encountered in some experiments, very useful, very practical.
hook
- 调用HOOK全局钩子可以检测向下键被按下,一旦按下弹出提示信息。-Call the global hook HOOK can detect the button is pressed down, once you press the pop-up message.
fenjieyinshu
- 题目:将一个正整数分解质因数。例如:输入90,打印出90=2*3*3*5。 程序分析:对n进行分解质因数,应先找到一个最小的质数k,然后按下述步骤完成: (1)如果这个质数恰等于n,则说明分解质因数的过程已经结束,打印出即可。 (2)如果n<>k,但n能被k整除,则应打印出k的值,并用n除以k的商,作为新的正整数你n, 重复执行第一步。 (3)如果n不能被k整除,则用k+1作为k的值,重复执行第一步。
sort
- 用非递归的算法对一组 数组进行排序,算法比较简单-Non-recursive algorithm to sort a set of array
length-of-word-histogranm
- 单词长度直方图。通过检索英文文本中的内容,给出单词的长度,并给出直方图-Word length histogram. English text by searching the contents of the given word length, and gives the histogram
piston01
- 该程序可用于模拟活塞机的仿真,提高仿真效率,降低计算成本。-This code can be used to simulate a piston engine s movement. it is very efficent.
74ls164
- 本例子介绍用74LS164串行显示,很适合与初学者-Introduced by the example of 74LS164 serial show, it is suitable for beginners