From 83a884da15be66e14511e98e25245b78b95fa68b Mon Sep 17 00:00:00 2001 From: Peter Sabol Date: Thu, 3 Mar 2022 15:21:19 +0100 Subject: [PATCH] funguje --- du1/program.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/du1/program.c b/du1/program.c index 51d020f..63155c4 100644 --- a/du1/program.c +++ b/du1/program.c @@ -18,6 +18,8 @@ int main(){ else out_char = inp_char; putchar(out_char); } - printf("\nPočet riadkov: %d\n",count_lines); + int counter=0; + counter=count_lines; + printf("\nPočet riadkov: %d\n",counter); return 0; }