All done with the reading...now I've been trying to change a value from the FILE (stamina to be more exact). But I can't seem to do a thing, what is it that I'm doing wrong?
This line of code I added a -5 to fp.stamina to see if it would be reduced by 5, but it wouldn't do anything. So, any suggestions?Code:fprintf(streamp,"%s %s %d %.2f %d %d", fp.last,fp.name,fp.edad,fp.efectividad,fp.stamina,fp.num);