摘要: 获取一个文件行数的方法,需要的朋友可以参考一下 第一种方法 思路:将文件中的字符一个一个读出,然后与 \n 作比较。 #include <stdio.h> #include <string.h> #include <errno.h> int main(int argc, char *argv[]) 阅读全文
posted @ 2017-12-15 21:34 李学文 阅读(5022) 评论(0) 推荐(0) 编辑
levels of contents