摘要: 阅读全文
posted @ 2012-10-02 20:16 10,000 hours coder 阅读(207) 评论(0) 推荐(0) 编辑
摘要: List ReverseList(List head) { if(head->next == NULL || head->next->next == NULL) { return head; /*链表为空或只有一个元素则直接返回*/ } ListNode *t = NULL, *p = he... 阅读全文
posted @ 2012-09-27 16:33 10,000 hours coder 阅读(171) 评论(0) 推荐(0) 编辑
摘要: static bool DelNodeWithOutHeadNode(CNode* &pDelNode) 将下一节点的数值复制到这个节点,实际上删除的是下一个节点 阅读全文
posted @ 2012-09-27 16:09 10,000 hours coder 阅读(329) 评论(0) 推荐(0) 编辑
摘要: http://www.chm-pdf.com/ebook/beginning-linux-programming-4th-cn.htmlhttp://www.baidupcs.com/file/731a09b2e3332c4439a2f8fb0ca6c862?fid=2433647962-250528-1090855442&time=1362916712&sign=FDTA-DCb740ccc5511e5e8fedcff06b081203-k6%2B%2B500ahf79JYRw6RKb1HVwYF8%3D&expires=1h 阅读全文
posted @ 2012-09-26 16:51 10,000 hours coder 阅读(5879) 评论(0) 推荐(0) 编辑
摘要: 1、《网络安全基础》应用与标准 第三版William Stallings 清华大学出版社 2、《黑客攻防实战详解》 邓吉,柳靖 电子工业出版社 3、Applied Cryptography, Second Edition: Protocols, Algorthms, and Source Code in C (cloth) Bruce Schneier 中文版本名:《应用密码学》 ... 阅读全文
posted @ 2012-09-19 23:14 10,000 hours coder 阅读(7838) 评论(0) 推荐(0) 编辑
摘要: 问题:写一个函数,判断一个int型的正整数是否是2的幂,即是否可以表示成2^X的形式(不可以用循环) 参考答案: //只考虑a大于0的情形 //返回1,表示a为2的幂 //返回0, 表示a不是2的幂 int is2n(int a) { return (((~a + 1) & a) == a); } 例如: 1.对于整数8,判断过程如下: 二进制 : 1000... 阅读全文
posted @ 2012-09-19 15:41 10,000 hours coder 阅读(154) 评论(0) 推荐(0) 编辑
摘要: loadrunner 9.5下载地址http://zj.downkr.com/guowai/HP.LoadRunner.rar 阅读全文
posted @ 2012-09-16 11:59 10,000 hours coder 阅读(306) 评论(0) 推荐(0) 编辑
摘要: #include<iostream>using namespace std;int find(int L, int m,int remaid);int main(void){ int *p = new int[10]; int *mark = p; int i=0; while(i<10) { *p=1; p++; ... 阅读全文
posted @ 2012-09-15 23:28 10,000 hours coder 阅读(366) 评论(0) 推荐(0) 编辑
摘要: 运算符重载实际上是一个函数,是函数的重载 阅读全文
posted @ 2012-09-15 22:25 10,000 hours coder 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 鸟是可以飞的,那么鸵鸟是鸟么?鸵鸟如何继承鸟类?[美国某著名分析软件公司2005年面试题] 解析:如果所有鸟都能飞,那鸵鸟就不是鸟!回答这种问题时,不要相信自己的直觉!将直觉和合适的继承联系起来还需要一段时间。 根据题干可以得知:鸟是可以飞的。也就是说,当鸟飞行时,它的高度是大于0的。鸵鸟是鸟类(生物学上)的一种。但它的飞行高度为0(鸵鸟不能飞)。 ... 阅读全文
posted @ 2012-09-15 22:03 10,000 hours coder 阅读(182) 评论(0) 推荐(0) 编辑