binarysorttree.cpp

来自「二叉排序树 算法 数据结构 希望对初学者有所帮助 c++源程序」· C++ 代码 · 共 21 行

CPP
21
字号
// binarySortTree.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include"BinarySortTree.h"
#include<iostream>

using namespace std;


int _tmain(int argc, _TCHAR* argv[])
{
	BinarySortTree<int> intBinarySortTree;
	int arr[20]={10,8,11,3,23,3,2,5,67,45,3,2,12,23,0,9,123,453,13,6};
	for(int i=0;i<20;i++)
	    intBinarySortTree.insert(arr[i]);
	intBinarySortTree.show();
	return 0;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?