JavaShuo
定义一个学生结构体类型struct student,里边含有学号,姓名,分数,定义结构体数组struct student s[3],给数组赋初值后, 写入文件,而后经过lseek偏移到开头,而后再读取
时间 2020-07-23
标签
定义
一个
学生
结构
类型
struct
student
里边
含有
学号
姓名
分数
数组
初值
写入
文件
而后
经过
lseek
偏移
开头
读取
1 #include
web