Write a program to read a binary file of student records, and produce a HTML file for display. The definition of the student record is as in the textbook (on page 219). The HTML file should use a table to contain all the fields of a student as a row. You should produce an HTML file that looks like the following. A sample HTML file has been attached to this article.
|name1||id1||phone number1||grades1||year1, month1, day1|
|name2||id2||phone number2||grades2||year2, month2, day2|
The name of the input student file and the name out the output HTML file should be given from stdin. Hint: Since there will be multiple records in the binary file and the number of records is unknown, you should process record and output HTML source code one by one but not store them into a fix-sized array.
The first line of the input is the name of binary file, and the second line of the input is the output HTML file. Each file names have no more than 80 characters. The binary file contains an array of struct student.
Output your HTML file formatted like the following:
<td>%f, %f, %f, %f</td>
<td>%d, %d, %d</td>
Please referrer to the attached file