buffet
This commit is contained in:
parent
edba1c1a58
commit
985756ffaf
@ -45,7 +45,10 @@ void search(struct tree* this){
|
||||
printf("Koniec vstupu\n");
|
||||
exit(0);
|
||||
}
|
||||
else if(buffer[0] != 'a' || buffer[0] != 'n' || buffer[0] != '\n'){
|
||||
if(buffet[0] == '\n'){
|
||||
search(this);
|
||||
}
|
||||
if(buffer[0] != 'a' || buffer[0] != 'n' || buffer[0] != '\n'){
|
||||
printf("Nerozumiem\n");
|
||||
exit(0);
|
||||
}
|
||||
@ -72,7 +75,7 @@ void search(struct tree* this){
|
||||
search(this->right);
|
||||
|
||||
}
|
||||
search(this);
|
||||
|
||||
}
|
||||
|
||||
void print_tree(struct tree* tree,int offset){
|
||||
|
Loading…
Reference in New Issue
Block a user