1、创建mysql_class.php文件然后在该文件中创建Mysql类,并定义变量12345678910112、通过构造函数初始化类1234567function
__construct($host,$root,$password,$database){$this->host = $host;$t...
分类:
数据库 时间:
2014-05-21 20:33:36
阅读次数:
450
Community Supported C# Drivers See the
officially supported MongoDB C# driver mongodb-csharp driver simple-mongodb
driver NoRM Tools MongoDB.Emitter D...
分类:
其他好文 时间:
2014-05-21 20:30:58
阅读次数:
289
MongoDB C# Driver是官方提供的.NET C#驱动。 Getting
Started with the C# Driver C# Driver Tutorial C# Driver LINQ Tutorial Serialize
Documents with the C# Driver...
分类:
数据库 时间:
2014-05-21 20:28:24
阅读次数:
446
1.下载 如果下载的.zip文件,只需要解压即可。
如果安装的.msi文件,它会将C#驱动DLL放在C:\Program Files (x86)\MongoDB\CSharp Driver xxx的位置。
2.将C#驱动DLL添加引用 MongoDB.Bson.dll MongoDB.Driver....
分类:
其他好文 时间:
2014-05-21 19:38:39
阅读次数:
379
#include
#include
typedef int elemType;
typedef struct Node{//定义单链表节点类型
elemType data;
Node *next;
}Node,*linkList;
//初始化链表,单链表的头指针为空
int initList(linkList &L)
{
L= (Node *)malloc(sizeof(Node));...
分类:
其他好文 时间:
2014-05-21 11:19:08
阅读次数:
228
WebStorm
8 with IdeaVim
plugin
vim, sublime
sublime加上node插件。
nide
Brackets
vim
+ jshint2.vim
eclipse
Visual
Studio 2013 + NTVS(Node.js
Tools for Visual Studio)
notepad++
atom.io
No...
分类:
Web程序 时间:
2014-05-21 09:24:23
阅读次数:
333
Nginx担当WebSockets代理英文原文:http://nginx.com/blog/websocket-nginx/作者:chszs,转载需注明。博客主页:http://blog.csdn.net/chszsWebSocket 协议提供了一种创建支持客户端和服务端实时双向通信Web应用程序的方法。作为HTML5规范的一部分,WebSockets简化了开发Web实时通信程序的难度。目前主流的...
分类:
Web程序 时间:
2014-05-21 07:54:34
阅读次数:
457
链表结点类型定义:1 class Node {2 public:3 int data = 0;4
Node *next = nullptr;5 6 Node(int d) {7 data = d;8 }9 };快行指针(runner)技巧:同时...
分类:
编程语言 时间:
2014-05-21 04:26:19
阅读次数:
444
#include#include#includetypedef int Item;typedef
struct node* PNode;typedef struct node{ Item data; PNode next;}Node;typedef
struct{ PNode fr...
分类:
其他好文 时间:
2014-05-21 04:20:54
阅读次数:
219
DescriptionA rooted tree is a well-known data
structure in computer science and engineering. An example is shown below:In the
figure, each node is lab...
分类:
其他好文 时间:
2014-05-21 03:23:51
阅读次数:
296