This commit is contained in:
Michaela Šaková 2019-03-23 20:32:11 +01:00
parent fc27accf5d
commit 1b87440824
3 changed files with 1 additions and 1 deletions

BIN
anketa

Binary file not shown.

View File

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

BIN
anketa.o

Binary file not shown.