Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ファイルから複数の HEX 値をスキャンし、それを整数変数に格納する方法 (HEX 番号の行ごとに異なります)。整数の場合は 4 バイト、1 行目は 6050BD、2 行目は 8060EF などと考えてください。
行がある間: fscanf(file, "%x\n", num);
fscanf(file, "%x\n", num);