buffet
This commit is contained in:
parent
b54643650e
commit
37b53ba884
@ -42,15 +42,13 @@ void search(struct tree* this){
|
|||||||
|
|
||||||
if(fgets(buffer, 5, stdin) == NULL){
|
if(fgets(buffer, 5, stdin) == NULL){
|
||||||
printf("Koniec vstupu\n");
|
printf("Koniec vstupu\n");
|
||||||
return;
|
exit(0);
|
||||||
}
|
|
||||||
if(buffer[0] == '\n'){
|
|
||||||
printf("Koniec vstupu\n");
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(buffer[0] == '\n'){
|
if(buffer[0] == '\n'){
|
||||||
char* r = fgets(buffer,5,stdin);
|
char* r = fgets(buffer,5,stdin);
|
||||||
}
|
}
|
||||||
|
|
||||||
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user