-
节点不需要在链栈、1类铅,和定义…
不带头结点的链式堆栈类,1、 定义并实现不带头结点的链式堆栈类,除构造和析构函数外,成员函数还有入栈、出栈、取栈顶元素、判断堆栈是否非空,头文件为“nohead_LinStack.h”。-node does not take the lead in the category of chain stack, 1, and the definition does not take the lead in realizing the chain nodes stack category, In addition to construction and destructor function, the members also function stack, stack up and stack elements for judging whether non-empty stack, The first document as "nohead_LinStack.h."
- 2022-07-27 00:21:48下载
- 积分:1
-
K-均值在 C 编程
// kmeans.c//伊桑·布罗德斯基2011年//月#include#include#include#定义SQR(X)((X)*(X))#定义MAX_CLUSTERS16#定义MAX_ITERATIONS100#定义BIG_double(INFINITY)无效失败(字符*海峡){的printf(STR);出口(-1);}双calc_distance(INT暗淡,双* P1,双* P2){双distance_sq_sum= 0;对于(INT II=0;二
- 2023-07-21 00:35:03下载
- 积分:1
-
对二叉树进行插入,打印屏幕等操作
对二叉树进行插入,打印屏幕等操作。使用动态结构实现,可以学习。代码简洁明了,便与学习。有注释。插入元素,采用递归实现。在t节点插入元素x;深度是temp;num表示若是在满二叉树情况下的编号,用于计算坐标;计算深度是x,满二叉树编号是y点的坐标。
- 2023-08-12 22:50:03下载
- 积分:1
-
采用水晶报表组件,vb报表应用实例,程序仅供参考。
采用水晶报表组件,vb报表应用实例,程序仅供参考。-Using Crystal Reports component, vb reporting application example, the program for reference only.
- 2022-04-18 16:43:23下载
- 积分:1
-
自动生成mdb数据库,统计出每行200列数据中相同的数量。示例程序...
自动生成mdb数据库,统计出每行200列数据中相同的数量。示例程序-Automatically generated mdb database, the statistics of each line 200 in the same amount of data. Examples of procedures
- 2023-04-26 21:55:03下载
- 积分:1
-
Ora10GSQLReference
oracle10gSQL语言参考
Ora10GSQLReference
oracle10gSQL语言参考-Ora10GSQLReference
- 2022-03-04 15:02:31下载
- 积分:1
-
本程序用来学校管理学生挡案用. 采用Access数据库,程序实现关键在应用ODBC 的两个类....
本程序用来学校管理学生挡案用. 采用Access数据库,程序实现关键在应用ODBC 的两个类.-procedures for the management of schools with students archives. Access database, program lies in the application of two types of ODBC.
- 2022-05-07 18:50:56下载
- 积分:1
-
数 据 结 构 大型 作业3.1输入一个数列L,生成一棵二叉排序树T;3.2对二叉排序树T作中序遍历,输出结果;3.3计算二叉排序树T的平均查找长度, 输出结果...
数 据 结 构 大型 作业3.1输入一个数列L,生成一棵二叉排序树T;3.2对二叉排序树T作中序遍历,输出结果;3.3计算二叉排序树T的平均查找长度, 输出结果;3.4判断二叉排序树T是否为平衡二叉树,输出信息“OK!”/“NO!”;3.5再使用上述数列L,生成平衡的二叉排序树BT,每当插入新元素,发现当前的二叉排序树BT不是平衡的二叉排序树,则立即将它转换成新的平衡的二叉排序树BT;3.6计算平衡的二叉排序树BT的平均查找长度,输出结果。3.6分析对比未平衡化的二叉排序树和平衡的二叉排序树的查找效率(最好、最坏平均比较关键字数)-data structure large operations into a 3.1 L series, generating a binary tree Sort T; 3.2 pair of two fork-tree T for medium preorder, output results; 3.3 Ranking calculation Binary Tree Search T"s average length of the output; 3. four judgment ordering two trees T fork whether balanced binary tree, the output message "OK!"/"NO!" ; again using the 3.5 series L, generate balanced binary tree sort BT, whenever insert a new element, found the current binary sort tree is not-BT Value of two binary sort tree, it will be immediately converted into the new balance of the two fork-tree BT; 3.6 Calculation balanced binary tree sort BT search length of the average output results. 3.6 Comparative Analysis of
- 2022-04-09 01:41:30下载
- 积分:1
-
自己编写的一个小算法 用于weka中,数据预处理
自己编写的一个小算法 用于weka中,数据预处理-I have written for a small weka algorithm, the data pre-processing
- 2023-04-08 09:45:03下载
- 积分:1
-
包含两个文件,一个是.BGI文件,是图形化得驱动,没有它该C语言程序无法正常显示,另外一个是源程序,本程序功能为图形化的计算器...
包含两个文件,一个是.BGI文件,是图形化得驱动,没有它该C语言程序无法正常显示,另外一个是源程序,本程序功能为图形化的计算器-Contains two files, one. BGI document is too graphic drivers, without which the C language program can not display properly, the other is the source, this program features for the graphical calculator
- 2022-02-04 17:56:31下载
- 积分:1