摘要: 1、 #include <stdio.h> #include <stdlib.h> int main(void) { int ch; FILE * fp; char filename[128]; int lines; char tail; printf("please input the filen 阅读全文
posted @ 2021-08-29 18:52 小鲨鱼2018 阅读(1866) 评论(0) 推荐(0) 编辑
摘要: 1、 #include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <stdbool.h> int main(void) { int ch; char filename[128]; FILE * fp; bool word = 阅读全文
posted @ 2021-08-29 16:49 小鲨鱼2018 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 1、 #include <stdio.h> #include <ctype.h> #include <stdbool.h> int main(void) { char ch; bool word = false; bool space = false; int words = 0; while((c 阅读全文
posted @ 2021-08-29 16:23 小鲨鱼2018 阅读(640) 评论(0) 推荐(0) 编辑