摘要: #include<stdio.h>union n{int x;unsigned char c[4];} num;main(){int x =20191208;unsigned char s[4];unsigned char a[]= {0xe8,0x17,0x34,0x01};int i;num.x 阅读全文
posted @ 2022-06-02 15:21 20191208孙汇阳 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 十六进制转二进制 #include<stdio.h>#include<string.h>#include<ctype.h>#include<math.h>#define M 400void fun10_2(long Sum)//十进制转二进制 { int i=0,arr[M]; while(Sum) 阅读全文
posted @ 2022-06-02 15:00 20191208孙汇阳 阅读(23) 评论(0) 推荐(0) 编辑