-
1。我用VC 6编写的程序,包括过程的顺序…
1.本程序由本人采用vc++ 6.0编写,包括了排序平衡二叉树的整套算法(包括插入、删除、查找以及其测试算法)。 2.运行myavl_vc.exe输入树的初始结点个数,确定后本程序将在内存中生成一棵相应结点数的二叉树,在此基础上你可以进行各种操作(插入、删除、查找以及测试其平衡性、排序性等) 3.每一个结点信息包括"商品编码"、"商品名称",且以"商品编码"作为关键字 4.初始生成的树的结点的商品编码为从1按顺序递增,商品名称为"生成的商品"加上商品编码 5.程序中的随机插入与随机删除是为了更好的测试程序的正确性和可靠性 6.随机插入(删除)时,程序将不断向(从)树中随机插入(删除)结点,每次随机插入(删除)都会进行平衡性与排序性的检查,如果树已经失去了有序性或平衡性,则会弹出树已失去了有序性或平衡性的提示并停止插入(删除)操作,当然你可以随时中断随机操作-1. The procedure I used vc 6.0 preparation, including the sequencing of the entire balanced binary tree algorithm (including insert, delete, search and test algorithm). 2. Running myavl_vc.exe importation of the initial tree node number, the procedures established in the memory of the formation of a corresponding nodes of a binary tree, and on this basis you can conduct various operations (insert, delete, search and testing their balance, sorting etc.) 3. each node information including "Product Codes," "trade names," and the "commodity codes" as the keyword 4. initial produ
- 2022-03-11 19:21:53下载
- 积分:1
-
VC环境下实现动态添加删除用户,数据库为SQL Sever 2
VC环境下实现动态添加删除用户,数据库为SQL Sever 2-VC environment dynamically add the user to delete the database for the SQL Sever 2000
- 2023-05-18 00:45:02下载
- 积分:1
-
面试经常遇到的大数相乘问题,代码简洁易懂
面试经常遇到的大数相乘问题,代码简洁易懂-Interviews are often encountered in large numbers multiply problems, the code easier to understand
- 2022-11-10 09:15:03下载
- 积分:1
-
vfp数据库应用编程
vfp数据库应用编程-Probe Database Application Programming
- 2022-04-25 10:40:53下载
- 积分:1
-
classic example of the data structure
数据结构的经典示例
- 2022-11-20 21:15:03下载
- 积分:1
-
酒店管理
感谢您下载...管理员 Id: 管理员管理员通过: 管理员邮寄到您的意见
- 2022-02-01 14:49:39下载
- 积分:1
-
看见有些拿螺旋数字矩阵做考题的,虽然本来也不难,可是你要一着急也许就想不出来了呢:)...
看见有些拿螺旋数字矩阵做考题的,虽然本来也不难,可是你要一着急也许就想不出来了呢:)-see some figures with spiral matrix so many questions, although otherwise it is not difficult, but you may be an anxious not want to come out? :)
- 2022-02-15 02:28:39下载
- 积分:1
-
奇妙的二叉树.rar 里面对数据结构里的二叉树进行了非常详细的说明,对大家学习数据结构有非常大的好处...
奇妙的二叉树.rar 里面对数据结构里的二叉树进行了非常详细的说明,对大家学习数据结构有非常大的好处-wonderful binary tree. Rar inside of the data structure, the binary tree for a very detailed description of the data structures you learn a lot more benefits
- 2022-05-30 05:57:22下载
- 积分:1
-
演示Kruskal算法和Prim算法和采集,搜索元素的…
演示Kruskal算法和Prim算法
集合的并,元素查找的操作及应用
说明:
代码均在vc++6.0环境下编译均通过
在非VC++6.0环境下编译请去掉头文件 windows.h 和函数 end()
-Demo Kruskal algorithm and Prim algorithm and collection, elements of the search operation and application notes: code in vc++ 6.0 compiler environment through in non-VC++ 6.0 compiler environment please go to the U-turn paper windows.h and function end ()
- 2022-02-10 11:33:05下载
- 积分:1
-
数据结构——链表(双向循环链表)
双向循环链表节点:数据域+指针域指针域:一个指针指向前一个同类型节点,另一个指针指向后一个同类型节点(1)设计节点struct db_node{int data;struct db_node * prev;struct db_node * next;};(2)创建空链表//创建了一个只有头节点的双向循环链表,返回头节点的地址struct db_node * create_db_list(void){struct db_node * phead = (struct db_node *)malloc(sizeof(struct db_node));if(phead == NULL)exit(-1);else{phead->next = phead;phead->prev = phead;}return phead;}(3)制造新节点//制造新节点,返回新节点的地址struct db_node * make_db_node(int value){struct db_node * pnew = (struct db_node *)malloc(sizeof(struct db_node));if(pnew == NULL)printf("malloc failed!
");else{pnew->data = value;pnew->next = NULL;pnew->prev = NULL;}return pnew;}(4)插入节点//把pnew指向的节点插入到头节点的前面,也就是整个链表的末尾bo
- 2022-02-14 07:06:11下载
- 积分:1