Ok, I have a structure StudentInfo with first and last names in it. I have an array of this type StudentInfo: StudentInfo stud_info[24] (25 different names).
Now I have a function that takes a single element of the array and puts it into the proper place alphabetically and moves everything else to make room. The function takes as inputs (StudentInfo stud_info[24], StudentInfo current, int count). Those being the array of the structure, the current name being inserted, and the count of the current name being inputted.
Well, this is a lot harder than it sounds to code, and it isn't quite working out right. I don't know what the problem is...
Now I have a function that takes a single element of the array and puts it into the proper place alphabetically and moves everything else to make room. The function takes as inputs (StudentInfo stud_info[24], StudentInfo current, int count). Those being the array of the structure, the current name being inserted, and the count of the current name being inputted.
Well, this is a lot harder than it sounds to code, and it isn't quite working out right. I don't know what the problem is...