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 个字节和第一行的 6050BD 和第二行的 8060EF 等等。
虽然有行: fscanf(file, "%x\n", num);
fscanf(file, "%x\n", num);