资源列表
Hotname
- 数据结构采用的是独立链法。用一个maxtimes和maxname实时跟新最大次数及对应的名字。使用了一个 hash函数: hash = hash * 131 + (int)name[j] int serial = hash 10007 (先要卷乘131,然后将得到的结果模一个和10000相近的素数,采用10007)(网络上的现成的算法)。然后生成一个链表,链表由节点组成,节点里面装入姓名和出现的次数;如果出现次数为0,则新建节点,否则在原节点操作(出现冲突时要下拉节点)。-The data st
FIVE
- 自己写的五子棋代码,可以直接执行,效率很高-Write your own backgammon code that can be executed directly, high efficiency
BMP---01--20130916
- 用C++编写的对话框,能够实现目标的动态运动,目标的自动添加撤除,文本文件的读取和保存。我的QQ是870666742.此程序较复杂,不懂的地方可以问我。-Prepared with C++ dialog, to achieve the target of dynamic movement, removal of the target automatically add a text file to read and save. My QQ is 870666742 This procedure
Expressions-Conversion
- 表达式转换,取栈顶元素,判断为操作数或运算符,运算符优先级比较,将表达式转换为后缀表达式-Expression conversion, check the top element is determined that an operand or operator, operator precedence compared to convert an expression to postfix expression
The-application-stack
- 栈的运用,构建空顺序栈,取栈顶元素,入栈,出栈,栈顶元素与当前运算符优先级比较,判断是否为运算符-The use of the stack, in order to build an empty stack, take the top element, stack, stack, stack element with the current operator precedence compared to determine whether the operator
Linear-list
- 线性链表相关功能,创建链表,显示链表,插入元素,逆置链表,删除区间元素-Linear list related functions, create lists, display lists, inserting elements, reverse set list, delete interval element
shizilianbiao
- 稀疏矩阵计算的十字链表法,转置,加法,乘法-Cross Chain sparse matrix computation method, transpose, addition, multiplication
structure-array-code
- 根据队列搜索算法的基本思想,现设计了一个简单的结构体数组如下定义代码所示。此结构体数组具备控制结点搜索和存储结点信息和路径的功能,可以较好的实现TDN的最小时间路径搜索。-Search algorithm based on the basic idea of the queue is now designed a simple structure array as defined code. This structure array with the control
Heapsort
- 实现堆排序的算法 用c语言实现 利用数组的特点快速定位指定索引的元素。 -Implement heap sort algorithm using c language
the-roots-of-quadratic-equations
- search for the roots of quadratic equations
myccodes
- 100个典型的C语言基本程序,在学习C语言时是个好的样例。-100 typical C language basic program, learning C language is a good example.
dlinklist
- 双链表源程序,实现双链表插入、删除等功能-Doubly linked list