Introduction - If you have any usage issues, please Google them yourself
Define an array of structures, storage of 10 students to learn numbers, names, classes are the results from the keyboard for more than 10 students in the content stored in file stud.txt, close the file open stud.txt file, the data read out to see if written correctly, close the file. Open the file stud.txt file, read data, the 10 students to sort according to the average scores from highest to lowest, respectively, the results output to the screen and the other documents studsort.txt in.