sds
This commit is contained in:
parent
b3cb417ae2
commit
dd6828435d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user