reading and writing to a binary file

This is a discussion on reading and writing to a binary file within the C Programming forums, part of the General Programming Boards category; Hey people, i've followed the tutorial on how to do file I/O to binary files however i need one more ...

reading and writing to a binary file

Hey people, i've followed the tutorial on how to do file I/O to binary files however i need one more line, but im not sure what to type in

its supposed to open the binary file binFile for reading and writing. then w ite each student record into binFile and therefore read the specified student record from the binary file into the temporary variable tempStudent.