摘要: C语言通用范例开发金典 飞思科技C++大学教程Python Tutorialpython核心编程汇编语言(第二版ruby-learn to program《Head First》系列Essential C++ /Beginning iPhone Development /Programming in Objective C /Thinking in C++(Java) /Programming Windows with MFC /Introduction to Boost /STL tutorial reference /Programming Windows代码大全2c++c++ 程序设.. 阅读全文
posted @ 2011-06-10 21:36 wangkangluo1 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 链表:#include <string.h>#include <stdlib.h>#include <stdio.h>typedef struct stu_listme stu_list;/*定义结构体*/struct stu_listme{ char* p_ch_data; stu_list* p_stu_next;};char* getform_list(stu_list* pHead, int nLim)/*取第k位数据*/ { char* p_ch_lim = NULL; int n_count = 1; stu_list* p_stu_point 阅读全文
posted @ 2011-06-10 16:31 wangkangluo1 阅读(360) 评论(0) 推荐(0) 编辑
摘要: 4.3. Explanation of error messages from MemcheckDespite considerable sophistication under the hood, Memcheck can only really detect two kinds of errors: use of illegal addresses, and use of undefined values. Nevertheless, this is enough to help you discover all sorts of memory-management problems in 阅读全文
posted @ 2011-06-10 13:48 wangkangluo1 阅读(6681) 评论(0) 推荐(0) 编辑
摘要: valgrind --leak-check=full --show-reachable=yes --log-file=a.log ./shdaily.fcgi "op=search&date=2011-04-14&current=4"glib使用如下:G_SLICE=always-malloc valgrind --tool=memcheck --leak-check=full --leak-resolution=high --num-callers=20 ./egg2Utest "ItfTest"常用命令详解:G_DEBUG=gc-fr 阅读全文
posted @ 2011-06-10 11:27 wangkangluo1 阅读(3415) 评论(0) 推荐(0) 编辑
摘要: vim 实用技术 之 八 c/h文件间相互切换 -- 插件: A下载地址http://www.vim.org/scripts/script.php?script_id=31版本安装将a.vim 放到 ~/.vim/plugin 文件夹中手册无下面介绍它的用法:作为一个C程序员, 日常Coding时在源文件与头文件间进行切换是再平常不过的事了, 直接用vim打开其源/头文件其实也不是什么麻烦事, 但是只用一个按键就切换过来了, 这是多么贴心的功能啊....安装好a.vim后有下面的几个命令可以用了::A在新Buffer中切换到c\h文件:AS横向分割窗口并打开c\h文件:AV纵向分割窗口并打开c 阅读全文
posted @ 2011-06-10 03:49 wangkangluo1 阅读(1491) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://hqlong.com/2010/01/1254.htmlvim技巧:折叠快捷键以前用的挺熟的,一段时间不用了,快捷键又忘了,不得不重新再看手册,今天专门整理一下,以后查找起来也比较方便。zc 折叠,只折叠最外层的折叠zC 对所在范围内所有嵌套的折叠点进行折叠,包括嵌套的所有折叠.zo 展开折叠,只展开最外层的折叠.zO 对所在范围内所有嵌套的折叠点展开,包括嵌套折叠.[z 到当前打开的折叠的开始处。]z 到当前打开的折叠的末尾处。zj 向下移动。到达下一个折叠的开始处。关闭的折叠也被计入。zk 向上移动到前一折叠的结束处。关闭的折叠也被zd 删除 (delete) 在光 阅读全文
posted @ 2011-06-10 03:38 wangkangluo1 阅读(11354) 评论(1) 推荐(0) 编辑
摘要: 快捷键 vim 图 阅读全文
posted @ 2011-06-10 02:34 wangkangluo1 阅读(2085) 评论(0) 推荐(0) 编辑