Home Forums C Programming Help – file reading Re: Re: Help – file reading


The code

reads the file and function fgets() reads the file line by line. So when the program reads first line, it skips the first line of records which is
No Matrix quiz1(5%) quiz1(5%) quiz1(5%) Proj(25%) MidT(20%) Final(40%)
and is done by this code:

And you read all the marks and data in else part of the program.