i need to complete the following tasks, any idea's
A number of simple student records are written to a text file.
One student record occupies a line of text.
Each record consists of four fields (items of data), separated by commas. The fields are:
Registration 'number' (8 characters, JMU style)
Date of birth (in the form mm-dd-yy).
The first two characters in the registration number refer to the year of entry.
The form of a typical line is
Using a text editor, create a file with 10 such records, all different, with registration years spanning both millennia, and in a fairly random order. (The order should look random because one of the tasks is to sort the records in chronological order).
Write a C program which reads the data and allows the user to browse the data record (student) by record, allowing the user to specify First, Last, Previous and Next. The fields (items of data) should be separately displayed.
When the user specifies Sort, the records are sorted in chronological order (i.e. by year of entry). The sort must take account of the fact that the first two digits in the registration number denote year and that the chronological sequence was 97, 98, 99, 00, 01, 02 and so on.