会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
莫小鹏
博客园
首页
新随笔
联系
订阅
管理
2015年9月30日
C语言实现快排
摘要: #include void swap(int *pa, int *pb){ int t = *pa; *pa = *pb; *pb = t;}int partion(int *array, int begin, int end){ if (array == NULL || b...
阅读全文
posted @ 2015-09-30 17:58 莫小鹏
阅读(584)
评论(0)
推荐(0)
编辑
C语言实现双向循环链表
摘要: #include #include #include struct list_head { struct list_head *next, *prev;};#define list_entry(ptr, type, member) \ (type *)( (char *)p...
阅读全文
posted @ 2015-09-30 13:49 莫小鹏
阅读(305)
评论(0)
推荐(0)
编辑
公告