上一页 1 2 3 4 5 6 ··· 18 下一页

2013年9月20日

摘要: makefilehttp://scc.qibebt.cas.cn/docs/linux/base/%B8%FA%CE%D2%D2%BB%C6%F0%D0%B4Makefile-%B3%C2%F0%A9.pdfhttp://www.laruence.com/2009/11/18/1154.html 阅读全文
posted @ 2013-09-20 23:09 brainworm 阅读(136) 评论(0) 推荐(0) 编辑

2013年9月18日

摘要: https://docs.google.com/spreadsheet/pub?key=0Aqt--%20wSNYfuxdGxQWVFsOGdVVWxQRlNUVXZTdEpOeEE&output=html 阅读全文
posted @ 2013-09-18 22:08 brainworm 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 当两个数相同的时候,要注意了,a ^= bb ^= aa ^= b会使两个数都变成0详见下面的链接,http://blog.chinaunix.net/uid-1844931-id-3034714.html 阅读全文
posted @ 2013-09-18 17:09 brainworm 阅读(186) 评论(0) 推荐(0) 编辑

2013年9月17日

摘要: 线索化二叉树 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 9 typedef enum{ 10 Thread, 11 Link 12 }Tag; 13 14 typedef struct Node 15 { 16 int data; 17 struct Node * lchild; 18 struct Node * rchild; 19 Tag rtag; 20 Tag... 阅读全文
posted @ 2013-09-17 14:25 brainworm 阅读(170) 评论(0) 推荐(0) 编辑

2013年9月9日

摘要: 阻塞:一般的I/O操作可以在新建的流中运用.在服务器回应前它等待客户端发送一个空白的行.当会话结束时,服务器关闭流和客户端socket.如果在队列中没有请示将会出现什么情况呢?那个方法将会等待一个的到来.这个行为叫阻塞.accept()方法将会阻塞服务器线程直到一个呼叫到来.当5个连接处理完闭之后,服务器退出.任何的在队列中的呼叫将会被取消. 非阻塞:非阻塞套接字是指执行此套接字的网络调用时,不管是否执行成功,都立即返回。比如调用recv()函数读取网络缓冲区中数据,不管是否读到数据都立即返回,而不会一直挂在此函数调用上。在实际Windows网络通信软件开发中,异步非阻塞套接字是用的最多的。. 阅读全文
posted @ 2013-09-09 17:19 brainworm 阅读(230) 评论(0) 推荐(0) 编辑

2013年9月8日

摘要: 1 /** 2 * Definition for singly-linked list. 3 * struct ListNode { 4 * int val; 5 * ListNode *next; 6 * ListNode(int x) : val(x), next(NULL) {} 7 * }; 8 */ 9 class Solution {10 public:11 ListNode *mergeTwoLists(ListNode *l1, ListNode *l2) {12 // Start typing your C/C+... 阅读全文
posted @ 2013-09-08 21:03 brainworm 阅读(233) 评论(0) 推荐(0) 编辑

2013年9月6日

摘要: http://blog.csdn.net/ccl3311/article/details/3023109 阅读全文
posted @ 2013-09-06 18:25 brainworm 阅读(125) 评论(0) 推荐(0) 编辑

2013年9月2日

摘要: http://www.iteye.com/topic/979557 阅读全文
posted @ 2013-09-02 19:55 brainworm 阅读(107) 评论(0) 推荐(0) 编辑

2013年8月11日

摘要: http://blog.unieagle.net/2012/12/05/leetcode%E9%A2%98%E7%9B%AE%EF%BC%9Abest-time-to-buy-and-sell-stock-iii%EF%BC%8C%E4%B8%80%E7%BB%B4%E5%8A%A8%E6%80%81%E8%A7%84%E5%88%92/ 阅读全文
posted @ 2013-08-11 21:03 brainworm 阅读(411) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/kzm2008/article/details/5372834http://www.tutorialspoint.com/unix_sockets/what_is_socket.htm 阅读全文
posted @ 2013-08-11 16:19 brainworm 阅读(111) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 18 下一页

导航