0_0_31064456_28927.cpp: In function 'int main()':
0_0_31064456_28927.cpp:158:21: error: 'i' was not declared in this scope
for(int j=0;i<m/2-1;j++)
^
0_0_31064456_28927.cpp:158:23: error: 'm' was not declared in this scope
for(int j=0;i<m/2-1;j++)
^
0_0_31064456_28927.cpp:160:41: error: invalid conversion from 'BiTree {aka BiTNode*}' to 'ElemType {aka int}' [-fpermissive]
DeleteNode(tree,findmax(tree));
^
0_0_31064456_28927.cpp:80:6: note: initializing argument 2 of 'void DeleteNode(BiTNode*&, ElemType)'
void DeleteNode(BiTree &tree, ElemType key) //使用引用
^
|