This commit is contained in:
Maryna Kravtsova 2020-11-22 17:50:54 +01:00
parent fb36534f8a
commit e6331aefce

View File

@ -48,11 +48,10 @@ 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] == '*'){
@ -75,6 +74,7 @@ void search(struct tree* this){
search(this->right);
}
printf("Nerozumiem\n");
}