- 博客(5)
- 收藏
- 关注
原创 2020-08-07
分享一下GZIP源码,方便下次使用,也方便他人链接: https://pan.baidu.com/s/13qt0060V1VFXEQ53VcSjYA 提取码: g2ht
2020-08-07 16:17:11
143
原创 linux系统环境下的zip解压程序, RTOS下需要修改一些参数。自测可以运行的
编译的时候,需要使用如下的编译指令。后续会持续更新/*gcc -D_GNU_SOURCE *.c*/#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <stdlib.h>#include <stdio.h>#include <unistd.h>#include <string.h>#include <.
2020-08-03 09:49:32
420
原创 Linux C下解压小程序-ZIP
参考了网上的一些zip的源码和大神写的一些zip的压缩解压程序。个人根据实际情况,对代码进行了处理,只是做了解压这一操作。具体的代码如下:#include <stdio.h>//#include <sys/io.h>#include <stdlib.h>#include <fcntl.h>#include <sys/stat.h>#include <string.h>#include <unistd.h>#
2020-07-10 20:28:41
627
原创 将已经转换成字符串格式的16进制字符转换成ASCII码输出
因为只需要转换一些基本的ASCII, 不是全部的ASCII,如果要全部的ASCII表,可以自行拓展。自己写的代码比较简单,就不做描述了。直接贴代码了;#include <stdio.h>#include <string.h>#include <stdlib.h>char *Ascii[200] = {" ","!","\"","#","$","%","&","'","(",")","*","+",",","-",".","/","0","1".
2020-06-23 15:20:38
1087
原创 记录安装Ubuntu Server 17.04, 安装hwinfo 失败的解决办法
参考官网的解决办法(系统是i386):在/etc/apt/sources.list文件中像下面这样添加一行:deb http://cz.archive.ubuntu.com/ubuntu xenial main universe参考网址:https://packages.ubuntu.com/xenial/i386/hwinfo/download...
2020-03-30 12:42:08
619
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人