Initializacia

This commit is contained in:
Kozar 2024-11-10 16:31:51 +00:00
parent 3d40f833d6
commit c015a63349

View File

@ -55,7 +55,7 @@ void run_tree(struct tree* tree) {
printf("Koniec vstupu\n");
return;
}else if (response != 'a' && response != 'n') {
if (feof(stdin)) {
if (scanf(" %c", &response) != 1) {
printf("Chybna databaza\n");
} else {
printf("Nerozumiem\n");