sds
This commit is contained in:
parent
aadcc3a260
commit
bb1834f8d0
@ -36,9 +36,11 @@ int main(){
|
||||
pocet_mien_v_poli++;
|
||||
}
|
||||
}
|
||||
|
||||
qsort(pole_smernikov, pocet_mien_v_poli, sizeof(char*), compare);
|
||||
|
||||
int skip=0;
|
||||
for(int j = 0;skip==0&&j<pocet_mien_v_poli; j++){
|
||||
/*for(int j = 0;skip==0&& j<pocet_mien_v_poli ;j++){
|
||||
for(int i=0;i<strlen(pole_smernikov[j]);i++){
|
||||
if(pole_smernikov[j][i]=='\n'||pole_smernikov[j][i]==' '||(pole_smernikov[j][i]>='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<p && i<pocet_mien_v_poli ;i++)
|
||||
|
Loading…
Reference in New Issue
Block a user