cv1
This commit is contained in:
parent
d41d314399
commit
c91b22ad4d
@ -56,10 +56,11 @@ int main(){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
int ddfd = strcspn(menu[1].name, " ");
|
||||||
for(int i = 0; i <= count;i++){
|
for(int i = 0; i <= count;i++){
|
||||||
int y = 0;
|
int y = 0;
|
||||||
for(int x = 0; x <= strlen(surovina);x++){
|
for(int x = 0; x <= strlen(surovina);x++){
|
||||||
if(surovina[x] != menu[i].name[x]){
|
if(surovina[x] != menu[i].name[x] && surovina[x] != menu[i].name[(strcspn(menu[i].name, " ") + x)+1]){
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
y = 1;
|
y = 1;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user