You make no effort to ensure that i in the loop that begins on line 61 remains within the bounds of the student array.
Lines 63 and 64 are likely to give you problems as they're written. I wouldn't be surprised if your input extraction failed prior to reaching eof, putting inFile into an error state and making your loop infinite. (google "Mixing formatted and unformatted input extraction")
Line 72/73 is redundant. Your code is functionally equivalent without those lines.