In file included from mod_shib_20.cpp:68:
mod_shib.cpp:118: warning: deprecated conversion from string constant to 'char*'
mod_shib.cpp: In member function 'virtual const char* ShibTargetApache::get...
分类:
其他好文 时间:
2014-05-07 06:04:50
阅读次数:
363
travel the binary tree by level 5 ( from down to top and from left to right every level )
个人信息:就读于燕大本科软件工程专业 目前大三;
本人博客:google搜索“cqs_2012”即可;
个人爱好:酷爱数据结构和算法,希望将来从事算法工作为人民作出自己的贡献;
博客内容:tr...
分类:
其他好文 时间:
2014-05-07 05:40:19
阅读次数:
401
SQL SERVER命令总结
查询语句:
SELECT [ALL/DISTINCT][TOP]
[as 别名][, as 别名]…
FROM [as 别名]…
[WHERE 条件表达式…]
[GROUP BY [HAVING]]
[ORDER BY[ASC/DESC]]
应该注意:SELECT语句的顺序:
SELECT-->FROM-->WHERE-->GROUP B...
分类:
数据库 时间:
2014-05-07 04:32:52
阅读次数:
561
1. 怎么导入PlausibleDatabase.framework框架
先下载PlausibleDatabase.framework框架包,然后把该包直接加入到库中,然后再加入#import 头文件
下载地址:http://code.google.com/p/pldatabase/ 在这里可以下载和查看文档和代码.
第三方SQLITE封装库Pldatabase
基...
分类:
数据库 时间:
2014-05-07 04:07:35
阅读次数:
564
方法一(最简单安装):
安装 Net-SNMP
CentOS及其它RedHat系列产品提供了net-snmp的二进制包。我们可以直接从源里安装。
shell> yum install net-snmp net-snmp-devel net-snmp-utils
说明:net-snmp-devel是为了使用net-snmp-config, net-snmp-utils是为了使...
分类:
其他好文 时间:
2014-05-07 02:48:36
阅读次数:
428
递归版
struct Edge
{
int from, to, cap, flow;
Edge(){}
Edge(int from, int to, int cap, int flow) : from(from), to(to), cap(cap), flow(flow){}
};
int n, m, s, t;
vector edges;
vector G[maxn];
bool v...
分类:
其他好文 时间:
2014-05-06 23:39:25
阅读次数:
351
Maximum Weight Difference
Chef has gone shopping with his 5-year old son. They have bought N items so far. The items are numbered from 1 to N, and the item i weighs Wi grams.
Chef's son insist...
分类:
其他好文 时间:
2014-05-06 22:59:49
阅读次数:
451
If you want to determine the uncompressed size
of a gzip file from within a program, you can extract to original file size from
the gzip file. This si...
分类:
编程语言 时间:
2014-05-06 18:25:15
阅读次数:
551
SQL调优 1,避免全表扫描 2,防止索引失效 3,用 exists 代替 in
4,不要使用SELECT* FROM table_name,用具体的字段列表代替“*”,不要返回用不到的任何字段。
分类:
数据库 时间:
2014-05-06 18:00:38
阅读次数:
530
#2.bool类型和const类型bool类型const限定符const与#define结构体内存对齐bool类型逻辑型也称布尔型,其取值为true(逻辑真)和false(逻辑假),存储字节数在不同编译系统中可能有所不同,VC++中为1个字节。声明方式:boolresult;result=true;可以当作整数用(true一般为1,fa..
分类:
其他好文 时间:
2014-05-06 16:25:36
阅读次数:
331