正在加载图片...
6. 1 General Tree Definitions and Terminology General Tree adt / General tree ADT template <typename E> class GenTree t public: void clears / Send nodes to free store Gtnode<E>* root( / Return the root //Combine two subtrees void newr。ot(E, ANode<E>大, GTNode<E>*); void print();//Print a treeGeneral Tree ADT // General tree ADT template <typename E> class GenTree { public: void clear(); // Send nodes to free store GTNode<E>* root(); // Return the root //Combine two subtrees void newroot(E&, GTNode<E>*, GTNode<E>*); void print(); // Print a tree }; 6.1 General Tree Definitions and Terminology
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有