摘要: main3.c #include<stdio.h> #include"utils.h" int main(){ //把整型数字转化为字节数组 int q; char bytearry[100]; printf("请输入一个整型数字\n"); scanf("%d",&q); printf("把整型数转 阅读全文
posted @ 2022-06-02 15:30 20191301 阅读(65) 评论(0) 推荐(0) 编辑
摘要: 代码 utils.h #ifndef UTILS_H #define UTILS_H int BitStr2ByteArr(char *bs,char *ba,int lbs); int ByteArr2BitStr(char *ba,char *bs,int lba); #endif utils. 阅读全文
posted @ 2022-06-02 14:57 20191301 阅读(17) 评论(0) 推荐(0) 编辑