buffet
This commit is contained in:
parent
e3a7bb990a
commit
38dfee03b8
@ -45,7 +45,7 @@ void search(struct tree* this){
|
|||||||
printf("Koniec vstupu\n");
|
printf("Koniec vstupu\n");
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
if(buffer[0] != '\n'){
|
|
||||||
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);
|
||||||
@ -67,7 +67,13 @@ void search(struct tree* this){
|
|||||||
search(this->right);
|
search(this->right);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if(buffer[0] != '\n'){
|
||||||
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
else{
|
else{
|
||||||
printf("Nerozumiem\n");
|
printf("Nerozumiem\n");
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user