From 69f62e88c0199bc3de63a9e91d02282d284e371a Mon Sep 17 00:00:00 2001 From: VIliam Date: Sun, 25 Feb 2024 20:43:48 +0100 Subject: [PATCH] capslock --- cv1/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv1/program.c b/cv1/program.c index eeadb7e..4839991 100644 --- a/cv1/program.c +++ b/cv1/program.c @@ -18,7 +18,7 @@ int main() { int input = getchar(); if (input == EOF) { - break; // Koniec súboru (EOF) + return -1; } c = (char)input;