This commit is contained in:
Andrii Hermaniuk 2022-04-22 09:56:58 +02:00
parent b3cb417ae2
commit dd6828435d

View File

@ -17,6 +17,8 @@ int main(a){
getchar();
if(p<1){
printf("Nespravny vstup\n");
for(int i = 0;i<pocet_mien_v_poli;i++)
free(pole_smernikov[i]);
return 0;
}
@ -40,7 +42,10 @@ int main(a){
pocet_mien_v_poli++;
}
}
if(pocet_mien_v_poli==0){
printf("Ziadne prihlasky\n");
}
qsort(pole_smernikov, pocet_mien_v_poli, sizeof(char*), compare);
int skip=0;