infix.h
来自「data structures, algorithms and Applicat」· C头文件 代码 · 共 10 行
H
10 行
template <class T>
void Infix(BinaryTreeNode<T> *t)
{// Output infix form of expression.
if (t) {cout << '(';
Infix(t->LeftChild); // left operand
cout << t->data; // operator
Infix(t->RightChild); // right operand
cout << ')';}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?