-
数据结构-算法-C语言-Demo
#ifndef _BINARY_TREE_H_INCLUDED#define _BINARY_TREE_H_INCLUDED#include #include templatestruct Bintree_node {T element;Bintree_node* lchild;Bintree_node* rchild;explicit Bintree_node(const T& elem=T(), Bintree_node* lchd=0, Bintree_node* rchd=0): element(elem), lchild(lchd), rchild(rchd) {}};templateclass Binary_tree {public:typedef Bintree_node* PBtn;Binary_tree();virtual ~Binary_tree();void clear();int depth() const;int size() const;virtual PBtn find(const T& elem) const=0;virtual void insert(const T& elem)=0;virtual void erase(const T& elem)=0;virtual void print(std::ostream& output) const=0;void print_tree(std::ostream& output) const;protected:
- 2022-01-29 04:39:50下载
- 积分:1
-
摄影测量中单独像对立体前交的算法实现,挺有用的
摄影测量中单独像对立体前交的算法实现,挺有用的-Photogrammetry separate ago as a three-dimensional reference to the algorithm, quite the
- 2022-12-14 19:35:03下载
- 积分:1
-
用c语言实现生产者
用c语言实现生产者-消费者问题-used language producer-consumer issues
- 2022-03-15 02:23:44下载
- 积分:1
-
under Gcc compiler,sd card and mmc card basic functions
under Gcc compiler,sd card and mmc card basic functions-under may refer compiler, sd card and basic functions mmc card
- 2022-03-22 08:50:16下载
- 积分:1
-
手机通讯录系统
#include
#include
#include
#include
#include
struct people
{
char name[20];
char tel[20];
int classficition;//类型 1.办公类 2.个人类 3.商务类
char E_mail[30];
people *pNext;
};
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2023-03-23 03:05:04下载
- 积分:1
-
基于libtommath的CRT大数实现
采用libtommath大数库对中国剩余定理算法通解进行改写,支持128位的大数实现,已测试成功。
- 2022-08-13 23:23:22下载
- 积分:1
-
决策树是用二叉树形图来表示处理逻辑的一种工具。可以直观、清晰地表达加工的逻辑要求。特别适合于判断因素比较少、逻辑组合关系不复杂的情况。...
决策树是用二叉树形图来表示处理逻辑的一种工具。可以直观、清晰地表达加工的逻辑要求。特别适合于判断因素比较少、逻辑组合关系不复杂的情况。
-Decision tree is a tree-shaped diagram used to indicate the processing logic as a tool. Can be intuitive, clear logic processing requirements. Particularly suited to determine the factors that have relatively less logical combination of relations with complex situations.
- 2022-06-20 01:42:38下载
- 积分:1
-
按层打印二叉树
算法思想: 先把根结点入队,然后循环直到队列为空:出队一个结点,打印之,将其邻接点依次入队;打印和入队邻接点前要先判断是否已经打印过了,如果已打印过的就不操作 。 此算法是在visual studio2012平台下实现二叉树的层次遍历,程序需要先输入二叉树,然后会将此二叉树按曾打印
- 2022-04-18 12:41:39下载
- 积分:1
-
文件1.txt,2.txt,3.txt和5.txt为用Fortran编写的有限元程序 4.txt为用c++编写的钢筋混凝土异形柱的全过程非线性分析源程序...
文件1.txt,2.txt,3.txt和5.txt为用Fortran编写的有限元程序 4.txt为用c++编写的钢筋混凝土异形柱的全过程非线性分析源程序-document 1.txt, 2.txt, 3.txt and 5.txt Fortran prepared for the use of the finite element program 4.txt to use C++ to prepare the R.C.special-the whole process of nonlinear analysis source
- 2022-08-18 18:12:35下载
- 积分:1
-
经纬度BL换算到高斯平面直角坐标XY(高斯投影正算)的源码及算法...
经纬度BL换算到高斯平面直角坐标XY(高斯投影正算)的源码及算法-BL converted to latitude and longitude Gaussian plane rectangular coordinates XY (Gauss projection is counting) the source code and algorithm
- 2023-01-05 22:50:03下载
- 积分:1