|
#include <stdio.h> struct example int main() test.num = 1; fp = fopen("file.dat", "w+"); |
[C/C++] 把结构体写入到文件,再从文件读取到结构体
最新推荐文章于 2024-03-01 21:53:31 发布
|
#include <stdio.h> struct example int main() test.num = 1; fp = fopen("file.dat", "w+"); |
1802
1183

被折叠的 条评论
为什么被折叠?
