- 12
- 0
- 约6.84千字
- 约 23页
- 2017-06-11 发布于河南
- 举报
p3(国外英语资料)
p3(国外英语资料)
*
Source file name: P5.cpp
Function: two fork tree operation
* /
#include iostream.h
#include iomanip.h
#include conio.h
#include stdio.h
#include process.h
#include string.h
#include math.h
#include stdlib.h
Struct BiTNode / / two tree node types
{
Int data; / / data
Int TEM1, tem2; / / auxiliary data (without practice)
BiTNode *left; / / pointer left sub tree
BiTNode *right; / / pointer right subtree
};
BiTNode *Tree; / / the two fork tree roots operation the program pointer
Const max=100;
Int elem[max]; / / storage of raw data
BiTNode *stack[max];
/ / number of the input and the
原创力文档

文档评论(0)