so my question is this..lets say you have a file
01 //course number
30 //number of students that can enroll
4 //number of students currently enrolled
02 //course number
20 //number of students that can enroll
12 //number of students currently enrolled
And i have a program that enrolls students in a course..
after a student enrolls, i need to update the file.
so if i enroll in computer science,
the number of students would increase to 5 and look like this
...how do i do that?