#include#include#include#include using namespace
std;template class joseph{ struct node { T data; node * next; node():next(...
分类:
编程语言 时间:
2014-05-26 06:44:29
阅读次数:
390
1. 两栈共享空间结构
typedef struct
{
SElemType data[MAXSIZE];
int top1; /* 栈1栈顶指针 */
int top2; /* 栈2栈顶指针 */
}SqDoubleStack;...
分类:
编程语言 时间:
2014-05-26 03:52:28
阅读次数:
391
1.链栈结构
typedef struct StackNode
{
SElemType data;
struct StackNode *next;
}StackNode,*LinkStackPtr;
typedef struct
{
LinkStackPtr top;
int count;
}LinkSta...
分类:
编程语言 时间:
2014-05-24 23:35:39
阅读次数:
429
一、常见操作
1、复制表结构create table t2 like t1
复制表数据insert into t2 select * from t1
2、mysql索引
alter table用来创建普通索引、unique索引或primary key索引
alter table t add index index_name(column_list)
al...
分类:
数据库 时间:
2014-05-24 14:43:02
阅读次数:
363
quoted from
http://en.wikipedia.org/wiki/File:LAMP_software_bundle.svg
分类:
其他好文 时间:
2014-05-24 12:44:54
阅读次数:
278
Quick Referenceinsmodmodprobermmod User-space
utilities that load modules into the running kernels and remove them.#include
module_init(init_function)...
分类:
其他好文 时间:
2014-05-24 12:05:39
阅读次数:
286
默认每个连接数占用10M内存ulimit -a 查看stack
sizeMongoDB服务器内存要满足 connection overhead + data size + index
size即连接数开销+热点数据+索引连接数太多的问题:如果在日志中遇到类似如下的错误信息:"too many ope...
分类:
数据库 时间:
2014-05-24 11:18:25
阅读次数:
378
Command to launch genymotion headless -player
--vm-name Nexus_4if player is not already added to path, add it to path using
below command in your ~/.b...
分类:
其他好文 时间:
2014-05-24 10:13:35
阅读次数:
320
【 学习交流】首先 rec下必须
挂载所有分区转载适配过MTK和展迅CPU的patchrom的人就知道,无论是MIUI还是乐蛙还是百度云,在运行完指令tools/releasetools/ota_target_from_phone
-r 之后,往往会又卡死的现象。久久没看到动。即使后面弄完了,发现b...
分类:
其他好文 时间:
2014-05-24 09:36:21
阅读次数:
281
#includeusing namespace std;template class
Stack{ private: struct Node{ Object data; Node * next; Node(cons...
分类:
其他好文 时间:
2014-05-24 09:32:25
阅读次数:
215