代码搜索:BinaryTree
找到约 1,360 项符合「BinaryTree」的源代码
代码结果 1,360
www.eeworm.com/read/171923/9729382
cpp binarytreemain.cpp
//:BinaryTreeMain.cpp
//****************************************************
//Designed by: Xinyun Yu Date: 2006.4.16
//The main implementation file for ADT BinaryTree
//**************************
www.eeworm.com/read/367167/9768819
cpp stdafx.cpp
// stdafx.cpp : 只包括标准包含文件的源文件
// BinaryTree.pch 将作为预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
// TODO: 在 STDAFX.H 中
// 引用任何所需的附加头文件,而不是在此文件中引用
www.eeworm.com/read/269229/11104951
cpp btree2.cpp
//二叉树类的实现btree2.cpp
//根据字符数组a的二叉树广义表建立对应的二叉树存储结构
template
void BinaryTree::CreateBTree(char *a)
{BTreeNode *s[80];//s数组作为存储二叉树中根结点指针的栈
int top=-1; //top作为s栈的栈顶指针
root=NULL;
www.eeworm.com/read/412708/11188511
h binarytreenode.h
#ifndef BINARYTREENODE_
#define BINARYTREENODE_
template class BinaryTree;
class huffman;
template
class BinaryTreeNode
{
friend BinaryTree;
friend huffman;
publ
www.eeworm.com/read/412708/11188529
cpp huffman.cpp
#include"stdafx.h"
#include "huffman.h"
BinaryTreeHuffman :: HuffmanTree(/*int*/UINT a[], BYTE /*STR_*/ t[],int n)
{
Huffman *w = new Huffman [n+1];
BinaryTree z, zero;
f
www.eeworm.com/read/412708/11188558
h huffman.h
#ifndef HUFFMAN_
#define HUFFMAN_
#include "BinaryTree.h"
#include "minheep.h"
#include "Stack.h"
#include"Text.h"
class Huffman
{ friend class Text;
public:
BinaryTree
www.eeworm.com/read/266345/11231681
cpp stdafx.cpp
// stdafx.cpp : source file that includes just the standard includes
// BinaryTree.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdaf
www.eeworm.com/read/249070/12523755
txt c10p520b.txt
// ********************************************************
// Header file BinaryTree.h for the ADT binary tree.
// ********************************************************
#include "TreeException.h"
www.eeworm.com/read/249070/12523763
txt c10p522.txt
// ********************************************************
// Implementation file BinaryTree.cpp for the ADT binary
// tree.
// ********************************************************
#include "Bi
www.eeworm.com/read/249070/12523780
txt c10p530.txt
#include "BinaryTree.h" // binary tree operations
#include
using namespace std;
void display(TreeItemType& anItem);
int main()
{
BinaryTree tree1, tree2, left; // empty trees
Binar