diff --git a/cv4/main b/cv4/main deleted file mode 100755 index d6be8e2..0000000 Binary files a/cv4/main and /dev/null differ diff --git a/cv6/main.c b/cv6/main.c index dee0e23..855b153 100644 --- a/cv6/main.c +++ b/cv6/main.c @@ -9,9 +9,8 @@ void test_station(struct station* station) { char station_name[MAX_INPUT]; int capacity; - printf("Enter station name and capacity (or 'exit' to stop):\n"); - while (1) { + printf("Enter station name and capacity (or 'exit' to stop):\n"); printf("Station name: "); if (!fgets(station_name, MAX_INPUT, stdin)) break; diff --git a/cv6/station b/cv6/station deleted file mode 100755 index d47b49e..0000000 Binary files a/cv6/station and /dev/null differ diff --git a/cv7/program.c b/cv7/program.c index 4ba61f1..405e3f8 100644 --- a/cv7/program.c +++ b/cv7/program.c @@ -32,7 +32,7 @@ struct tree* load_tree() { node->left = load_tree(); node->right = load_tree(); } else if (node->left != NULL || node->right != NULL) { - printf("Expert z bufetu to vie.\n"); + printf("Chybna databaza\n"); free(node); return NULL; } @@ -106,4 +106,4 @@ int main() { destroy_tree(root); return 0; -} \ No newline at end of file +}