commit
This commit is contained in:
parent
47805e95d4
commit
9d6d5a897b
@ -47,7 +47,7 @@ void run_system(struct Node* node) {
|
|||||||
if (node == NULL) return;
|
if (node == NULL) return;
|
||||||
printf("%s", node->value);
|
printf("%s", node->value);
|
||||||
if (node->left == NULL && node->right == NULL) {
|
if (node->left == NULL && node->right == NULL) {
|
||||||
printf("Koniec vstupu\n");
|
printf("Koniec\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
char answer[SIZE];
|
char answer[SIZE];
|
||||||
@ -80,5 +80,6 @@ int main(void) {
|
|||||||
|
|
||||||
run_system(root);
|
run_system(root);
|
||||||
destroy_tree(root);
|
destroy_tree(root);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user