diff --git a/cv5/program.c b/cv5/program.c index 10a6f3e..7cf938f 100644 --- a/cv5/program.c +++ b/cv5/program.c @@ -42,10 +42,6 @@ int check_line(char *line, int *votes, char *name) { return 0; // premena sa nepodarila } - //preskocenie inych znakov na zaciatku nez cislo - while (*end != '\0' && !isdigit(*end)) { - end++; //posuvam sa na dalsi znak v retazci - } // nastavenie ukazovatela name na miesto za prvou medzerou char *name_start = space + 1; diff --git a/cv5/program.exe b/cv5/program.exe index ea547dd..633c964 100644 Binary files a/cv5/program.exe and b/cv5/program.exe differ