buffet
This commit is contained in:
parent
fb36534f8a
commit
e6331aefce
@ -48,12 +48,11 @@ void search(struct tree* this){
|
||||
if(buffer[0] == '\n'){
|
||||
search(this);
|
||||
}
|
||||
if(buffer[0] != 'a' || buffer[0] != 'n' || buffer[0] != '\n'){
|
||||
/*if(buffer[0] != 'a' || buffer[0] != 'n' || buffer[0] != '\n'){
|
||||
printf("Nerozumiem\n");
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
||||
}*/
|
||||
|
||||
if(buffer[0] == 'a'){
|
||||
if(this->left->value[0] == '*'){
|
||||
printf("%s\n", this->left->value);
|
||||
@ -75,6 +74,7 @@ void search(struct tree* this){
|
||||
search(this->right);
|
||||
|
||||
}
|
||||
printf("Nerozumiem\n");
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user