📄 emp5_15.cpp
字号:
// emp5_15
#include "btrechar.h"
void inordert(bitre t,bptrlink ptrt)
{
if (t!=NULL){
inordert(t->lchild,ptrt);
printf("%c",t->data);
bptr_point_to(ptrt,t);
cur_bnode_onoff(t);
getch();
cur_bnode_onoff(t);
getch();
inordert(t->rchild,ptrt);
}
}
void main()
{
bitre t,p,tin;
int k;
bptrlink ptrt,ptrpre;
load_bitre_file(t,"bitres\\full41.cbt");
display_bitre("t",t);
create_bptr(ptrt, " P");
window(1,1,80,4);
printf("\n\n");
disp_bitre("t",t);
inordert(t,ptrt);
getch();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -