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]);
|
printf("%s\n", text[current]);
|
||||||
|
|
||||||
if (!fgets(buf, 256, stdin)) {
|
if (!fgets(buf, 256, stdin)) {
|
||||||
printf("Chyba: Neplatny vstup.\n");
|
printf("Koniec vstupu\n");
|
||||||
return 1;
|
return 0;
|
||||||
}
|
}
|
||||||
int len = 0;
|
int len = 0;
|
||||||
while (buf[len]) len++;
|
while (buf[len]) len++;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user