I think that after this part of code:
fscanf() didn't "get" the '\n' character, and the first time fgets is executed, I just read the newline char.Code:fscanf(f,"%d",&Students[i].lessons_num);
What, in your opinion, is the best way to write this part of code?
thanks in advance...