摘要: 目 录1、顺序表 1Seqlist.h 1Test.cpp 62、单链表 8ListNode.h 8SingleList.h 10test.cpp 203、双向链表 22NodeList.h 22DoubleList.h 24Test.cpp 344、循环链表 36ListNode.h 36CircularList.h 37Test.cpp 475、顺序栈 49SeqStack.h 49Test.cpp 546、链式栈 55StackNode.h 55LinkStack.h... 阅读全文
posted @ 2014-02-25 18:49 花满楼 阅读(346) 评论(0) 推荐(0)
摘要: Arrays allow us to use the __restrict__ keyword. For instance, the following snippet, when compiled (with g++ -O3) and run on my system.#include #include #include #include #include using namespace std;void with_vectors(vector a, vector b) { for (int i = 0; i vec_0(array_0, array_0 + kLength); vec... 阅读全文
posted @ 2014-02-01 03:30 花满楼 阅读(159) 评论(0) 推荐(0)
摘要: 一:sql语句换行好像会出错 二:调错误最久的是忘记加set 三:一开始是用getdate(),但是格式不对,就用convert转一下 四:发现了一个安全隐患,如果数据库里有重复的数据,就会出错。改进想法:a:用了三四次sql查询,是否可以减少几次?[代码]* 阅读全文
posted @ 2009-07-07 19:09 花满楼 阅读(140) 评论(2) 推荐(0)