Aktualizovat du5/program.c
This commit is contained in:
parent
b68f3d6247
commit
9017593197
@ -93,8 +93,8 @@ int main(void)
|
||||
printf("%s\n", text[current]);
|
||||
|
||||
if (!fgets(buf, 256, stdin)) {
|
||||
printf("Chyba: Neplatny vstup.\n");
|
||||
return 1;
|
||||
printf("Koniec vstupu\n");
|
||||
return 0;
|
||||
}
|
||||
int len = 0;
|
||||
while (buf[len]) len++;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user