代码搜索:BinaryTree
找到约 1,360 项符合「BinaryTree」的源代码
代码结果 1,360
www.eeworm.com/read/311974/13620619
dsp binarytree.dsp
# Microsoft Developer Studio Project File - Name="BinaryTree" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86
www.eeworm.com/read/311974/13620620
ncb binarytree.ncb
www.eeworm.com/read/311974/13620621
plg binarytree.plg
Build Log
--------------------Configuration: BinaryTree - Win32 Debug--------------------
Command Lines
Creating temporary file "C:\DOCUME~1\水果
www.eeworm.com/read/311974/13620622
opt binarytree.opt
www.eeworm.com/read/305812/13760435
class binarytree.class
www.eeworm.com/read/305812/13760437
java binarytree.java
public class BinaryTree {
private TreeNode root;
/** Create a default binary tree */
public BinaryTree() {
}
/** Create a binary tree from an array of objects */
public BinaryTre
www.eeworm.com/read/304056/13802362
cpp binarytree.cpp
#include
//BinaryTree
template
struct BTNode
{
BTNode(){lChild=rChild=NULL;}
BTNode(const T& x)
{
element=x;lChild=rChild=NULL;
}
BTNode(const T& x,BTNode*l
www.eeworm.com/read/303217/13820209
cpp binarytree.cpp
#include
struct node
{
int data;
node *left;
node *right;
};
void iterate(node * &root, int m) //寻找最佳的插入地点
{
node *p=0;
if(mdata)
{
if(root->left)
{
www.eeworm.com/read/140673/5784654
h binarytree.h
#ifndef BINARYTREE_H__
#define BINARYTREE_H__
#include
/* 二叉树数据结构,
* 由于写iterator比较浪费时间,
* 没有做太多的封装
*/
/* 二叉树结点
*/
template
struct BTreeNode {
BTree
www.eeworm.com/read/140673/5784675
h binarytree.h
#ifndef BINARYTREE_H__
#define BINARYTREE_H__
#include
/* 二叉树数据结构,
* 由于写iterator比较浪费时间,
* 没有做太多的封装
*/
/* 二叉树结点
*/
template
struct BTreeNode {
BTree