原文:http://www.cnblogs.com/linjiqin/archive/2011/05/26/2059182.htmlSQLite数据库增删改查操作一、使用嵌入式关系型SQLite数据库存储数据在Android平台上,集成了一个嵌入式关系型数据库——SQLite,SQLite3支持NU...
分类:
数据库 时间:
2014-05-10 18:34:19
阅读次数:
494
sw-engine-cgiPHP MongoDB database drivermongodb
database driver,数据库驱动;
分类:
其他好文 时间:
2014-05-10 07:30:15
阅读次数:
261
组里用的几台机器换了网段,MongoDB需要做重新配置。查看Replica
Set的状态如下:rs.status(){ "startupStatus" : 1, "ok" : 0, "errmsg" : "loading
local.system.repls...
分类:
数据库 时间:
2014-05-10 06:26:06
阅读次数:
693
在下例中,演示了链表的各种操作
#include
using namespace std;
typedef struct Node
{
int data; //数据域
struct Node * next; //指针域
}NODE, *PNODE; //NODE相当于struct Node, PNODE相当于struct Node *
PNODE CreateList()...
分类:
其他好文 时间:
2014-05-10 04:29:49
阅读次数:
263
判断单链表是否有环两个指针分别为p1和p2,每循环一次只向前走一步,p2向前走两步,知道p2碰到NULL指针或者两个指针相等则说明有环如果存在,start存放在圆环开始的节点bool
IsLoop(node *head,node *start){node *p1=head,*p2=head;if(h...
分类:
其他好文 时间:
2014-05-10 00:22:22
阅读次数:
272
接着上一篇,上一篇主要介绍了PetaPoco
基本情况,优缺点和基本的查询功能,所以这篇主要介绍的是PetaPoco
的增,删,改等功能。PetaPoco提供了完整的增,删,改,查功能。是代替SqlHelper辅助类的不二选择。插入对象:,需要指定的表和它的主键。var
a=new arti...
分类:
其他好文 时间:
2014-05-09 23:09:13
阅读次数:
346
题目:
Clone an undirected graph. Each node in the graph contains a label and
a list of its neighbors.
OJ's undirected graph serialization:
Nodes are labeled uniquely.
We use # as a separat...
分类:
其他好文 时间:
2014-05-09 22:31:35
阅读次数:
353
安装pomelo时发现:错误解释:node-gyp和node的版本不一致,有可能是python版本太低,默认是2.6.6最后更改node版本和python版本node版本是10.2.6python版本是2.7.3再次重新安装无错误
分类:
其他好文 时间:
2014-05-09 21:32:43
阅读次数:
451
一、安装pomelo安装前准备:根据需要安装相应版本的Python和node[root@AY14041810545836988bZopt]#python--versionPython2.6.6一、下载Python2.7.3,此版本是适合node-gpy的#wgethttp://python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz22.#tar-jxvfPython-2.7.3.tar.bz23.cdP..
分类:
其他好文 时间:
2014-05-09 21:27:46
阅读次数:
493
BFS。 1 #include 2 #include 3 #include 4
#include 5 using namespace std; 6 7 #define INF 0x3fffffff 8 9 typedef struct
node_st {10 int x, y, ...
分类:
其他好文 时间:
2014-05-09 20:18:48
阅读次数:
339