树  0.1
数据结构_第6章
test0.hh File Reference

生成一个文件,内容是一棵二叉树的层次遍历(deprecated) More...

#include "Tree.h"
#include <ctime>
#include <fstream>
#include <iostream>
Include dependency graph for test0.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Tree
 自定义的树类都在Tree名字空间内
 

Functions

static bool Tree::GenTreeData (const char *_file_path="./test0.txt", const char *empty_flag="@")
 生成一个文件,内容是一棵二叉树的层次遍历 More...
 
template<typename T , typename Comparator >
static void Tree::print_test_result (const binaryTree< T, Comparator > &binary_tree, const typename binaryTree< T, Comparator >::value_type &flag, std::ostream &out=std::cout)
 (测试用)将一棵二叉树的遍历结果插到输出流 More...
 

Detailed Description

生成一个文件,内容是一棵二叉树的层次遍历(deprecated)

Author
Guorui Wei (31301.nosp@m.7602.nosp@m.@qq.c.nosp@m.om)
Version
0.1
Date
2020-04-19

See the file LICENSE in the top directory of this distribution for more information.

Definition in file test0.hh.