buffet
This commit is contained in:
parent
d692f08a9e
commit
eb4a4c2389
@ -45,7 +45,7 @@ void search(struct tree* this){
|
|||||||
printf("Koniec vstupu\n");
|
printf("Koniec vstupu\n");
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
else{
|
||||||
if(buffer[0] == 'a'){
|
if(buffer[0] == 'a'){
|
||||||
if(this->left->value[0] == '*'){
|
if(this->left->value[0] == '*'){
|
||||||
printf("%s\n", this->left->value);
|
printf("%s\n", this->left->value);
|
||||||
@ -79,6 +79,7 @@ void search(struct tree* this){
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void print_tree(struct tree* tree,int offset){
|
void print_tree(struct tree* tree,int offset){
|
||||||
int i;
|
int i;
|
||||||
|
Loading…
Reference in New Issue
Block a user