You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kunkun/读取函数伪代码

8 lines
150 B

INPUT 读取数据
printf 请输入文件名
IF 文件为空 return
ELSE
DO fscanf(fp)
stu[i].number,stu[i].name,stu[i].score END
THEN 关闭文件