搜索资源列表
chessboard
- 用C++语言实现棋盘覆盖分治算法 在一个2k×2k 个方格组成的棋盘中,恰有一个方格与其它方格不同,称该方格为一特殊方格,且称该棋盘为一特殊棋盘。在棋盘覆盖问题中,要用4种不同形态的L型骨牌覆盖给定的特殊棋盘上除特殊方格以外的所有方格-C++ language with the board divided coverage of a 2k × 2k Algorithm in the composition of the board of squares, just a different box
Generic-function
- 泛型函数: 总结:使用标准模板库 (STL) C++标准库提供了更为安全,更为灵活的数据集处理方式。 STL的最主要的两个特点:数据结构和算法的分离,非面向对象本质。 访问对象是通过象指针一样的迭代器实现的;容器是象链表,矢量之类的数据结构,并按模板方式提供; 算法是函数模板,用于操作容器中的数据。由于STL以模板为基础,所以能用于任何数据类型和结构。-Generic function: Summary: Using the Standard Template Library
Matrix
- 数据结构(c++语言描述)矩阵的定义和实现-Data structure (c++ Language descr iption) matrix type definition and realize
222
- 用C语言定义“栈”的链式存储结构类型,实现进栈出栈等操作-In C language definition of " stack" of the type of chain store structure
333
- 用C定义“队列”的链式存储言定义结构类型并实现数据的出队进队-With C defined " queue" statement defines a chain store type and data structure of the team into the team
Cyuyan
- C 语言易于描述复杂的数据结构。C语言的数据类型有;整型、实型、字符型、数组类型、指针类型、结构体类型、共用体类型等,可以方便的描述各种常用的数据结构,如链表、树、图等,这使得C语言在开发大型的系统和应用程序方面有很强的优势。 -C language is easy to describe complex data structures. C data types integer, real, character, array type, pointer type, structure
Banker
- 操作系统书中的银行家算法,C语言实现。为P进程的类型资源分配的资源数-The book of the banker s algorithm operating system, C language. The type of process for the P number of resources allocation of resources
tree-and-forest
- 数的存储结构及类型描述 建立树和森林的算法 树和森林的检验 c++版-Number and type of storage structure described The establishment of tree and forest algorithms The test tree and forest c++ version
info_sys.tar
- 《简单信息管理系统(C语言描述)》 这是本人用C语言实现的简单信息管理系统,由顺序存储的线性表来组织数据结构,程序在CentOS 5.1环境下完成,我的博客上有程序界面截图(我的博客:http://blog.163.com/joshuachan@yeah/)。 本系统实现的数据操作: 增加/遍历/排序/查询及删除匹配数据/数据文件的导入和导出。 系统文件组成: 测试程序<test.c>,综合头文件<main.h>,
no-longer-afraid-of-the-pointer
- 介绍C语言指针的四方面的内容:指针的类型、指针所指向的类型、指针的值或者叫指针所指向的内存区、指针本身所占据的内存区,和指针的应用-Describes four aspects of pointers in C content: the type of pointer, pointer types, pointer value or name of the memory area pointer, the pointer memory area occupied by itself, and t
MyExp
- 使用C++写的迷宫小程序,可以在VC环境下运行,自带10个迷宫库,可修改配置文件选择。-A maze code in C++ can run in VC directly including 10 maze file inside which can be chosen by modifying the ini type file
WinRAR-ZIP
- 在C++用递归实现链表逆序 使得倒序输出。-#include <stdio.h> #include <stdlib.h> #include <time.h> const int M=10 typedef int Type typedef struct Node{ Type data struct Node* next }Node void add_elem(Node**head,Type data){ Node
The-Binary-Tree
- 构造一颗二叉排序树并实现其中元素的插入和删除。即先输入一串数据(int型),使计算机构造出一棵二叉排序树(限于C语言的表达,咱不在屏幕上使其输出)。然后按照屏幕提示,删除一个已有的数据,再构成一个新的二叉排序树。-Construct a binary sort tree and which elements insertions and deletions.To enter a string of data (int type), the computer constructed a binar
The-Poly
- 内容为用起泡排序法实现元素的非递减排列.构造一颗二叉排序树并实现其中元素的插入和删除。即先输入一串数据(int型),使计算机构造出一棵二叉排序树(限于C语言的表达,咱不在屏幕上使其输出)。然后按照屏幕提示,删除一个已有的数据,再构成一个新的二叉排序树。-Construct a binary sort tree and which elements insertions and deletions.To enter a string of data (int type), the computer
tree_sanyuanzu
- 假设以如下说明的三元组 (F、C、L/R) 序列输入一棵二叉树的诸边(其中 F 表示双亲结点的标识,C 表示孩子结点标识,L/R 表示 C 为 F 的左孩子或右孩子),且在输入的三元组序列中,C 是按层次顺序出现的。设结点的标识是字符类型。F=‘^’时 C 为根结点标识,若 C 亦为‘^’,则表示输入结束。试编写算法,由输入的三元组序列建立二叉树的二叉链表,并以中序序列输出。 -Assumed that the input to the following descr iption of th
atom
- c语言接口与实现在对atom(原子)类型的实现与接口-c language interface to achieve the realization of the type of atom (atomic) interface
Polynomial
- 一个d阶多项式有如下形式: cdxd+cd− 1xd− 1+cd− 2xd− 2…+c0 其中,cd≠0,指数都是非负数。每一个cixi是多项式中的一项。 设计一个C++的模板类 Polynomial<T>,T给出系数的类型,要求能够实现多项式的表示和运算。Polynomial类应该包括私有变量degree,和其他需要的变量。对多项式的表示要求用线性表的形式,例如(c0,c1,c2,…,cd)表示系数表。并设计以下成员函数和操
List-for-set-intersection-problem
- 已知两个单链表A与B分别表示两个集合,其元素类型为int且递增排列,其头结点指针分别为a,b。求出A与B的交集,要求C同样以元素值递增的单链表形式储存。-Known two single chain A and B denote two collections whose elements of type int and ascending, the head node pointers are a, b. Find the intersection of A and B, C similarl
farmer-cross-the-river1
- 经典农夫过河问题的c语言算法,且是栈类型的操作方法。(队列类型算法也可实现。)-Classic farmer across the river algorithm c language and method of operation is the stack type. (Queue type algorithm can be realized.)
farmer-crossing-river2
- 经典的农夫过河问题的c语言算法。队列类型操作。(栈类型也可实现。)-Classic farmer across the river algorithm c language. Type of queue operations. (Stack type can also be implemented.)