- 博客(0)
- 资源 (1)
空空如也
数据结构里的一些基本代码包括线性表,树等
#include "AATree.h"
#include <iostream>
using namespace std;
/**
* Construct the tree.
*/
template <class Comparable>
AATree<Comparable>::AATree( const Comparable & notFound ) :
ITEM_NOT_FOUND( notFound )
{
nullNode = new AANode<Comparable>;
nullNode->left = nullNode->right = nullNode;
nullNode->level = 0;
root = nullNode;
}
2011-03-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人