搜索资源列表
C语言文件管理
- 操作系统中的文件是通过文件目录项来管理的,为了管理和查找的方便,按层次把文件目录项组织起来,同一层上的目录构成该层上的目录,第一层为根目录,一下为各层子目录。 假设以一串字符代表一个文件,每个字符表示一个记录。 在建立上述目录结构的基础上,建立相应的管理系统并要求完成以下各项操作: 1. 一次建立各个文件 2. 查访两个用户的所有文件 3. 查访用户sun 是否有文件AB 4. 删除用户sun的文件AC,然后在分别查访两个用户的全部文件,检查是否已经删除文件AC 5. 撤销用户sun,并检查是否
kruskal最小生成树实现
- 在boost基础上实现 对图的最小生成树实现,通过此算法可以找到此图中连接所有点的最小生成树。-the boost on the basis of the plan to achieve the minimum spanning tree, the algorithm can find this map connect all the points the minimum spanning tree.
先序建立树
- 数据结构中,先序建立二叉树算法,在建树的基础上可以进行树的其他操作,思想简单易懂-data structure, the first order to establish a binary tree algorithm, the contribution on the basis of the tree can be conducted in other operations, thinking simple and understandable
GREEDYSELECT1
- 这是一个会议安排问题,知道没个会议的开此时间跟结束时间就可以求要求的最少会议室 理论基础是谈心算法-This is an organization of the session, know that the meetings did not set a time to the end of time can be the minimum requirement in order Conference Room theoretical basis of the algorithm for he
erchatree
- 根据数据文件内的数据对二叉树进行操作。分别完成:二叉树节点数据的插入、删除、查找和打印输出等功能。-basis of the data within the data file to binary tree operate. Completed : binary tree node data insert, delete, search and print capabilities.
LinkedLista
- 此为初步实现,简单直观,可在此基础上增强功能。-preliminary achieve this, simple, and the basis of this enhanced functionality.
cclasspoint
- 首先定义一个点类Point,其私有成员为其坐标X,Y。设计构造函数,拷贝构造函数,析构函数(可以什么都不做,只打印信息,表示其被调用),设置新值函数Set, 打印成员值函数Print。再定义一个线类Line,线类是在公有继承点类的基础上,新增私有成员斜率S,并设计构造函数,拷贝构造函数,析构函数(可以什么都不做,只打印信息,表示其被调用),设置新值函数Set, 打印成员值函数Print以及其它你认为对访问此Line类对象有用的成员函数。并用此Line类定义对象,调用所有成员函数。尤其是考察构造函
cclassshape
- 声明一个基类Shape(点), 在此基础上派生出Rectangle(长方形)和Circle(圆),这三个类都有GetArea()函数计算对象的面积,构造函数,析构函数等有关函数。再使用Rectangle类创建一个派生类Square(正方形)。并设计创建各种类的对象,调用所有函数。设计函数f(Shape &a)能对不同对象的实参调用计算打印出对象的面积。 -statement a base class Shape (points) On this basis -- for Rectangle
duoDT
- 这是在邻接表的基础上实现的多段图的向前算法-This the adjacency list on the basis of the multi-map algorithm forward ... ... ...
pingmiansanjiaopoufen
- 平面三角剖分,可以在DOS下显示出三角形顶点的集,数据不是很完善,可以做进一步工作的基础-plane triangulation, in DOS show triangle vertices set, the data is not perfect, can do a basis for further work
yundh
- 简单的运动会积分统计系统 大一主要学习了C和C++,该程序是一个比较基础实用的程序。-simple statistical systems integration Games freshman learning the major C and C, The procedure is a practical basis for comparison procedures.
cjgz
- 简单的成绩管理系统 大一主要学习了C和C++,该程序是一个比较基础实用的程序。-simple performance management system freshman learning the major C and C, the program is a practical basis for comparison procedures.
FibonacciHeap
- 斐波那契堆基于二项式堆,在支持以O(1)时间实现插入、合并和以O(log n)实现删除最小元素的基础上,进一步实现了以O(1)实现指定节点值减少和用O(log n)时间完成删除任意节点操作-Fibonacci heap-based binomial heaps of support to the O (1) time to achieve insertion, Merger and O (log n) to achieve the smallest element deleted on the
homework
- 数据结构是编程的基础,本例是本人写的八个基本数据结构的实现方法,用C语言编写,在VC中调试成功,并带有少量的注释,有兴趣的可以研究一下。我在里面尽量使用了指针-data structure is the basis for programming, which in this case is I wrote the eight basic data structure of the method, using C language, in VC debugging success, and wi
avl_tree
- 1.本程序由本人采用vc++ 6.0编写,包括了排序平衡二叉树的整套算法(包括插入、删除、查找以及其测试算法)。 2.运行myavl_vc.exe输入树的初始结点个数,确定后本程序将在内存中生成一棵相应结点数的二叉树,在此基础上你可以进行各种操作(插入、删除、查找以及测试其平衡性、排序性等) 3.每一个结点信息包括\"商品编码\"、\"商品名称\",且以\"商品编码\"作为关键字 4.初始生成的树的结点的商品编码为从1按顺序递增,商品名称为\"生成的商品\"加上商品编码 5.程序中的随
图论算法
- 此书详细的介绍了各种流行和重要的图算法 识货的就下咯-book detailed account of a popular and important map know the quality of the algorithm on the basis of 1,10
向量排序
- 书中共介绍了四类排序函数:插入排序、起泡排序、选择排序、快速排序。我们需要建立一个无序随机序列,分别用上述排序方法对建立的无序序列有序化,编写相应的程序计算每种算法的赋值次数、比较次数以及所用时间,以此为依据来判断各种算法的效率。-introduced a total of four ranking functions : insertion sort, bubble sort, select, in order of Quick Sort. We need to build a disorde
Marriage
- 稳定婚姻:第一步配成一对夫妇, 即组成一个有序对, 以此作为问题的部分解, 以后每一步考虑一男一女, 如果将他们组成有序对并加入到部分解中, 不会引起不稳定, 则加入之 否则, 不组成有序对, 而是考虑另一对男女. 这样一步步地给部分解增加有序对, 直至得到完整解.在回溯的基础上,找到最优。 -stable marriage : first night of a couple that is a component ordered pair, as part of the problem sol
实现顺序栈的各种基本运算
- 1、编写一个程序algo3-1.cpp,实现顺序栈的各种基本运算,并在此基础上设计一个主程序实现如下功能: (1)初始化栈S。 (2)判断栈S是否非空。 (3)依次进栈元素a,b,c,d,e。 (4)判断栈S是否非空。 (5)输出栈的长度。 (6)输出从栈顶到栈底的元素。 (7)输出出栈序列。 (8)判断栈S是否非空。 (9)释放栈 ,1, the preparation of a program algo3-1.cpp, the realization of
FP_growth
- VC6.0 C语言实现的简单FP-growth算法,数据挖掘的基础算法-VC6.0 C language implementation of a simple FP-growth algorithm, the basis of data mining algorithms
