Initializacia
This commit is contained in:
parent
3d40f833d6
commit
c015a63349
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user