当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: #ifndef _LINUX_LIST_H#define _LI
 

 

 ·mysql中左连接的使用    »显示摘要«
    摘要:查询在一个相关的表中不存在的数据,如用户表(user)和用户资料表(user_profile),通过id关联,要查出user表中在user_profile中不存在的记录: select count(*) from?user left join?user_profile on user.id=user_profile.id where user_profile.id is null 复杂条件: ......
    摘要:using system; using system.web.ui; using system.web.ui.webcontrols; using system.componentmodel; using system.text; namespace nslzhpages { public class lzhpages : system.web.ui.webcon......


Linux 中的链表

#ifndef _linux_list_h

/* 【程序编程相关:脚本技术的极致

#define _linux_list_h 【推荐阅读:shell学习1-文件安全与权限

 * under normal circumstances, used to verify that nobody uses 【扩展信息:http client and file

 * these are non-null pointers that will result in page faults

 * non-initialized list entries.

 */

#define list_poison1  ((void *) 0x00100100)

#define list_poison2  ((void *) 0x00200200)

/*

 * simple doubly linked list implementation.

 *

 * some of the internal functions ("__xxx") are useful when

 * manipulating whole lists rather than single entries, as

 * sometimes we already know the next/prev entries and we can

 * generate better code by using them directly rather than

 * using the generic single-entry routines.

 */

struct list_head {

 struct list_head *next, *prev;

};

#define list_head_init(name) { &(name), &(name) }

#define list_head(name) \

 struct list_head name = list_head_init(name)

#define init_list_head(ptr) do { \

 (ptr)->next = (ptr); (ptr)->prev = (ptr); \

} while (0)


...   下一页
 ·学习vc++(1)    »显示摘要«
    摘要:一直想学习vc++ ,自己看了一部分,但是还是比较模糊,正准备放弃时,发现开学了,所以。。。嘿嘿!其他系开设了,vc++课程了,立马旁听。嘿嘿! 还好,今天去的时候他们就上了一节课,而且第一节课程是将的序言和一些vc++的背景历史了,所以我当然不听了。今天去的时候就开始第二章了,不过第二章的东西是一些关于vc++的基础的东西,所以听了还是受益匪浅的,今天听了听课,开始自己写一些随堂笔记之类的,方......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE