vs code je somarina
This commit is contained in:
parent
37133147fb
commit
052f0216b1
@ -65,11 +65,11 @@ void ask(struct node* tree){
|
|||||||
}
|
}
|
||||||
while(r[0] == '\n'){
|
while(r[0] == '\n'){
|
||||||
r = fgets(buff, SIZE, stdin);
|
r = fgets(buff, SIZE, stdin);
|
||||||
}
|
|
||||||
if(r == NULL){
|
if(r == NULL){
|
||||||
puts("Koniec vstupu");
|
puts("Koniec vstupu");
|
||||||
return;
|
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