会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
上年的邻居
2013年8月23日
第一次理解通用链表
摘要: 1 #ifndef _LIST_H 2 #define _LIST_H 3 #include"stdio.h" 4 #define _INLINE_ static inline 5 6 struct list_head { 7 struct list_head *next, *prev; 8 };
阅读全文
posted @ 2013-08-23 23:45 寻找心的巨人
阅读(158)
评论(0)
推荐(0)
编辑
C++ 通用队列类
摘要: 1 #include"stdio.h" 2 #include"malloc.h" 3 class Queue 4 { 5 private: 6 typedef struct queue 7 { 8 int data; 9 struct queue *next; 10 }link; 11 link*t
阅读全文
posted @ 2013-08-23 23:37 寻找心的巨人
阅读(469)
评论(0)
推荐(0)
编辑
导航
博客园
首页
新随笔
联系
订阅
管理
公告