In order to become familiar with structs, I'm trying to write a program that will input an unordered set of names of students in a class and their grade in that class and then sort them both alphabetically and by grade. I'm only to the first sorting part of the program and it's compiling fine but my code keeps crashing with this error:
"SortingStructs.exe!main() Line 41
SortingStructs.exe!_tmainCRTStartup() Line 536
SortingStructs.exe!mainCRTStartup() Line 377"