2011/09/04 (日) 23:06:35        [qwerty]
printf(fp, "設定1:   %d\n", set1);
で書き出して
gets(buf, 256, fp); set1 = atoi(&buf[14]);
で読み込む
みたいなのじゃ駄目なん?