buffet
This commit is contained in:
parent
ca2b58c08e
commit
9fab76cb35
@ -36,12 +36,12 @@ struct tree* read_tree(){
|
|||||||
return create_node();
|
return create_node();
|
||||||
}*/
|
}*/
|
||||||
if(buffer[0] != '*'){
|
if(buffer[0] != '*'){
|
||||||
if(node->left == NULL){
|
//if(node->left == NULL){
|
||||||
node->left = read_tree();
|
node->left = read_tree();
|
||||||
}
|
//}
|
||||||
if(node->right == NULL){
|
//if(node->right == NULL){
|
||||||
node->right = read_tree();
|
node->right = read_tree();
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
/*else if(string[0] == '*'){
|
/*else if(string[0] == '*'){
|
||||||
if(node->left == NULL){
|
if(node->left == NULL){
|
||||||
|
Loading…
Reference in New Issue
Block a user