buffet
This commit is contained in:
parent
d2a173a719
commit
7455eb5a3d
@ -47,6 +47,7 @@ void search(struct tree* this){
|
|||||||
} */
|
} */
|
||||||
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);
|
printf("%s\n", this->left->value);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -139,7 +140,7 @@ int main(){
|
|||||||
|
|
||||||
printf("%s\n", tree->value);
|
printf("%s\n", tree->value);
|
||||||
search(tree);
|
search(tree);
|
||||||
//destroy_tree(tree);
|
destroy_tree(tree);
|
||||||
printf("Koniec\n");
|
printf("Koniec\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user