![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C/C++
兔牙
这个作者很懒,什么都没留下…
展开
-
关于位段的一些理解
#include //帮助理解一些关于位段的概念 //下面这个结构相当于 //----int-4bytes------- //----char-1byte------- //----char-1byte------- this byte is used as 高字节->低字节 |0(1bits not be used)||f4(3bits)|f3(2bits)|f2(1bits)|f1(1bit原创 2014-06-30 14:28:29 · 402 阅读 · 0 评论 -
FCFS的C++实现
额,也不知道算不算是C实现了...原创 2014-07-01 22:45:43 · 1512 阅读 · 0 评论 -
字符串循环移位
翻手法 #include #include #include /*reverse hand to do rotate right*/ void reversehand(char *list, int low , int high) { int tmp; while(low { tmp = list[low]; list[low]=list[high]原创 2014-05-29 14:13:45 · 615 阅读 · 0 评论