This commit is contained in:
Michaela Šaková 2019-03-23 20:28:18 +01:00
parent 83ee8f9add
commit e0be203d42
3 changed files with 3 additions and 2 deletions

BIN
anketa

Binary file not shown.

View File

@ -14,9 +14,10 @@ return i;
}
int search(struct student* students,const char* name){
int a;
for(int i=0; i<MAXSTUDENTS; i++){
if(strcmp(students[i].name,name)==0){
a=strcmp(students[i].name,name);
if(a==0){
return i;
}
}

BIN
anketa.o

Binary file not shown.