sakldhjf
This commit is contained in:
parent
f0a59e584d
commit
04596bd224
@ -63,6 +63,10 @@ void ask(struct node* tree){
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
r = fgets(buff, SIZE, stdin);
|
r = fgets(buff, SIZE, stdin);
|
||||||
|
if(r == NULL){
|
||||||
|
puts("Koniec vstupu");
|
||||||
|
return;
|
||||||
|
}
|
||||||
if(r[0] == 'a' && tree->left != NULL){
|
if(r[0] == 'a' && tree->left != NULL){
|
||||||
tree = tree->left;
|
tree = tree->left;
|
||||||
ask(tree);
|
ask(tree);
|
||||||
|
Loading…
Reference in New Issue
Block a user