Can anyone tell me how to read variable length fields from a sequential file using fscanf. The fields are delimited by commas.
Fields to be read in are
· Student Number (5 digits)
· Student Name (25 characters max.)
· Curriculum Code (3 characters)
· 8 Class Work Grades (2 characters max., may be : a+, a, a-, b+, b, b-, c+... f)
· 4 Test Grades (3 digits max.)
· Final Exam (3 characters max., [not a mistake!!])