![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构与算法
布鲁斯_陈
for dream to fight...
展开
-
二分查找代码
转载来自:http://blog.csdn.net/v_july_v/article/details/7093204[cpp] view plaincopy//二分查找V0.1实现版 //copyright@2011 July //随时欢迎读者找bug,email:zhoulei0907@yahoo.cn。转载 2014-12-12 16:43:07 · 342 阅读 · 0 评论 -
【数据结构】枚举enum范例
typedef enum{PERMISSION_RESERVE = 0, //保留PERMISSION_ALLOWED = 1, //允许PERMISSION_DENY = 2, //禁止PERMISSION_READ_ONLY = 3 //只读}PERMISSION_TYPE;typedef enum{INTERFACE_TYPE_NULL = 0原创 2015-03-03 10:51:08 · 1073 阅读 · 0 评论 -
【数据结构】联合union范例
typedef enum{INTERFACE_TYPE_NULL = 0,INTERFACE_TYPE_FIREWARE = 1,INTERFACE_TYPE_IR = 2,INTERFACE_TYPE_PCMCIA = 3,INTERFACE_TYPE_PS2 = 4,INTERFACE_TYPE_USB = 5,INTERFACE_TYPE_SERIAL = 6原创 2015-03-03 11:25:39 · 879 阅读 · 0 评论