This commit is contained in:
Andrii Hermaniuk 2022-04-22 09:36:58 +02:00
parent 8e9a3ac1c1
commit baebffb6df

View File

@ -38,9 +38,9 @@ int main(){
}
qsort(pole_smernikov, pocet_mien_v_poli, sizeof(char*), compare);
int skip=0;
for(int j = 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]>='a'&&pole_smernikov[j][i]<='z')||(pole_smernikov[j][i]>='A'&&pole_smernikov[j][i]<='Z')){
if(pole_smrnikov[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;
}
else{