摘要: C语言版: 参考链接:https://blog.csdn.net/a_ran/article/details/40897159 cal_md5.c #include "md5.h" #include <stdio.h> #include <stdlib.h> #include <string.h> 阅读全文
posted @ 2021-06-04 22:53 Grooovvve 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 通过stat函数获取文件的大小,单位bytes;无需将文件读入内存,可以计算大文件; #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <stdio.h> int stat(const char *pa 阅读全文
posted @ 2021-06-04 22:02 Grooovvve 阅读(497) 评论(0) 推荐(0) 编辑