From bb1834f8d0e87ee7f97df8b4cbf71edb19f08cb5 Mon Sep 17 00:00:00 2001 From: Andrii Hermaniuk Date: Fri, 22 Apr 2022 09:40:00 +0200 Subject: [PATCH] sds --- du6/program.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/du6/program.c b/du6/program.c index d772d3c..47c25e2 100644 --- a/du6/program.c +++ b/du6/program.c @@ -36,9 +36,11 @@ int main(){ pocet_mien_v_poli++; } } - qsort(pole_smernikov, pocet_mien_v_poli, sizeof(char*), compare); + + qsort(pole_smernikov, pocet_mien_v_poli, sizeof(char*), compare); + int skip=0; - for(int j = 0;skip==0&&j='a'&&pole_smernikov[j][i]<='z')||(pole_smernikov[j][i]>='A'&&pole_smernikov[j][i]<='Z')){ continue; @@ -48,7 +50,7 @@ int main(){ skip=1; } } - } + }*/ if (!skip){ printf("Prijati studenti:\n"); for(int i = 0; i