- 博客(2)
- 问答 (1)
- 收藏
- 关注
原创 二进制文件存入结构体数组,读取结构体数组
不知道哪里有问题,结果有很多0#include <stdio.h>#include <stdlib.h> struct stu{ char name[20]; int num; float wages; }a[20];//定义结构体数组void mergeFile(FILE*fp1,FILE*fp2,FILE*fp3){ int k=0; struct stu change; while(fgetc(fp1)...
2022-04-08 08:01:48
1330
原创 文件题,找不到错误在哪里,但是结果是有问题的
#include"stdio.h"#include"stdlib.h"#include"malloc.h"struct stu { char name[20]; int num; int wages; struct stu* next;};//创建结构体struct stu* linkstu(FILE* fp, int i) { struct stu* list = NULL, * p, * end = NULL; for (int j = 0; .
2022-03-30 09:22:05
507
1
空空如也
求多个字符串中,每个字符串的元音字符的个数,以及分别a e i o u的个数
2022-01-12
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅