多学习。

随笔分类 -  操作系统

摘要:void inplace_swap(int *x,int *y) { *y = *x ^ *y; //step1 *x = *x ^ *y; //step2 *y = *x ^ *y; //step3 } #include <stdio.h> #include <stdlib.h> void inp 阅读全文
posted @ 2022-04-08 11:56 czyaaa 阅读(154) 评论(0) 推荐(0) 编辑
摘要:#include <stdio.h> #include <stdlib.h> //unsigned char恰好占用一字节,可以作为一个字节指针 typedef unsigned char *byte_pointer; //若机器是小端机,则需要倒转着看.大端机顺着看即可 void show_byt 阅读全文
posted @ 2022-04-07 10:08 czyaaa 阅读(43) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示