Initializacia
This commit is contained in:
parent
3d40f833d6
commit
c015a63349
@ -55,7 +55,7 @@ void run_tree(struct tree* tree) {
|
|||||||
printf("Koniec vstupu\n");
|
printf("Koniec vstupu\n");
|
||||||
return;
|
return;
|
||||||
}else if (response != 'a' && response != 'n') {
|
}else if (response != 'a' && response != 'n') {
|
||||||
if (feof(stdin)) {
|
if (scanf(" %c", &response) != 1) {
|
||||||
printf("Chybna databaza\n");
|
printf("Chybna databaza\n");
|
||||||
} else {
|
} else {
|
||||||
printf("Nerozumiem\n");
|
printf("Nerozumiem\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user