如何用C语言读取txt文件中的数据到结构体数组中

2025-03-10 08:10:20
推荐回答(1个)
回答1:

fopen 使用二进制方式
fread(&st, 1, sizeof(st), file)
fclose
~
~
~
~