该文被密码保护。 阅读全文
posted @ 2015-07-16 18:12 Magnum Programm Life 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 自己写一个线程池 阅读全文
posted @ 2015-07-16 18:11 Magnum Programm Life 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 1. 错误提示: It seems that I cannot create a rebase-apply directory, and I wonder if you are in the middle of patch application or another rebase. 2. git 阅读全文
posted @ 2015-07-16 15:31 Magnum Programm Life 阅读(630) 评论(0) 推荐(0) 编辑
摘要: 链表不限定元素的长度,可以动态分配元素并添加,另外经常的增删是链表优于其他数据结构的特点.今天我们用链表来实现一个队列.linkList.h#include #include #include #include #include #include #define new(type) (type *)... 阅读全文
posted @ 2015-07-16 14:31 Magnum Programm Life 阅读(1699) 评论(0) 推荐(0) 编辑
摘要: 请看下面的代码:#include#include#include#include#include#includevoid destroy(int * p){ if(p != NULL) { free(p); p = NULL; }}int main(){... 阅读全文
posted @ 2015-07-16 14:16 Magnum Programm Life 阅读(183) 评论(0) 推荐(0) 编辑