12.04.2016, 16:41
I'm not used to File I/O's but I will try to help you.
Try using
EDIT: btw why you used this 2 times?
Try using
Code:
fseek (cfg, 28, SEEK_SET);
Code:
ireason = fread(cfg, strinsg); // over here ireason = fread(cfg, strinsg); // over here