上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 20 下一页
摘要: 1: //file :4pqueue-test.cpp 2: #include <queue> 3: #include <iostream> 4: #include <algorithm> 5: using namespace std; 6: 7: int main() 8: { 9: //test priority queue..... 阅读全文
posted @ 2012-09-01 23:40 justinzhang 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 1: /* 2: author:justinzhang 3: email:uestczhangchao@gmail.com 4: time:2012-8-23 10:28:53 5: desc: value_type , from <the annotated stl source>, chapter 3, p86 6: iterator_traits wil... 阅读全文
posted @ 2012-09-01 23:38 justinzhang 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 1: /* 2: author:justinzhang 3: email:uestczhangchao@gmail.com 4: time:2012-8-22 16:23:08 5: desc: mmap()practice from man mmap 6: */ 7: #include <sys/mman.h> 8: #include <sys/... 阅读全文
posted @ 2012-09-01 23:35 justinzhang 阅读(442) 评论(0) 推荐(0) 编辑
摘要: 1: /* 2: @@ 3: Author: JustinZhang 4: Email: uestczhangchao@gmail.com 5: Time: 2012-9-1 23:32:22 6: desc: Example from man, write by hand, test under ubu... 阅读全文
posted @ 2012-09-01 23:34 justinzhang 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 1: /* 2: author:justinzhang 3: email:uestczhangchao@gmail.com 4: time:2012-8-22 18:50:23: 5: desc: a buggy program from bbs.qshpan.com, i use strerror(errno) to locate 6: the proble... 阅读全文
posted @ 2012-09-01 23:31 justinzhang 阅读(1041) 评论(0) 推荐(0) 编辑
摘要: 1: /* 2: author:justinzhang 3: email:uestczhangchao@gmail.com 4: time:2012-8-30 22:53:33 5: desc: from a interview question, fork plus printf buffer is a littel tricky~~ 6: */ 7: ... 阅读全文
posted @ 2012-09-01 23:30 justinzhang 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 1: /* 2: Author:Justinzhang 3: email:uestczhangchao@gmail.com 4: time:2012-8-30 22:17:23 5: desc:fork problem, from www.qshpan.com 6: */ 7: 8: #include <stdio.h> 9: #inclu... 阅读全文
posted @ 2012-09-01 23:29 justinzhang 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 1: /* 2: author:justinzhang 3: email:uestczhangchao@gmail.com 4: time:2012-8-30 18:54:01 5: desc: binary search from the aocp p380 6: */ 7: 8: #include <iostream> 9: #incl... 阅读全文
posted @ 2012-09-01 23:28 justinzhang 阅读(1717) 评论(0) 推荐(0) 编辑
摘要: 1: /* 2: author:justinzhang 3: email:uestczhangchao@gmail.com 4: time:2012-8-20 15:52:27 5: des.:using non recursive method to traverse binary tree 6: */ 7: #include <iostream> ... 阅读全文
posted @ 2012-09-01 23:26 justinzhang 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 1: /* 2: @@ 3: Author: Justinzhang 4: Email: uestczhangchao@gmail.com 5: Time: 2012-9-1 22:08:31 6: Desc: It's a problem meet a long time ago. i've tried... 阅读全文
posted @ 2012-09-01 23:24 justinzhang 阅读(259) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 20 下一页