1、代码如下: /// /// 递归读取指定路径下的所有文件信息 /// /// /// private void DIGuiGetFile(string path, TreeNode node) ...
分类:
其他好文 时间:
2014-07-16 19:19:28
阅读次数:
153
#include #include #include #include #include #include #include #include #include #include #include #include using namespace std;struct Node{ int x;...
分类:
其他好文 时间:
2014-07-16 18:46:18
阅读次数:
145
distributed使用文档1、distributed说明该模块主要封装了各个服务进程间进行通信的方法。node子节点域root根节点进程中的接口调用返回的都是延迟对象。关于延迟对象的使用,详见twisted中Deferred对象。2、结构解析PBRoot,root节点对象ChildsManage...
分类:
其他好文 时间:
2014-07-16 18:43:01
阅读次数:
200
var mysql = require("mysql"); var connection = mysql.createConnection({ host: '127.0.0.1', user: "root", //数据库用户名 ...
分类:
数据库 时间:
2014-07-16 00:00:17
阅读次数:
265
BFS。 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 #define MAXN 305 8 9 typedef struct node_st {10 int x, y;11 ...
分类:
其他好文 时间:
2014-07-15 23:05:28
阅读次数:
289
1.结点
链表中用来存储一个数据的存储单元。
一个链表至少需要由两部分组成,就是数据域和指针域,一般形式的结点定义为:
struct node
{
Elem data; //Elem类型泛指基本数据类型
struct node *next;
}
typedef struct node Elemsn;
以上两步等价于:
typedef struct node
{...
分类:
其他好文 时间:
2014-07-15 13:01:24
阅读次数:
281
本文解释如何使用Grunt.js构建JavaScript库。Grunt.js依赖Node.js和npm,所以第一节解释其是什么,如何安装和使用。如果你对npm有了解,那你可以跳过这一节。第四和第五节讲述如何配置Grunt和一系列典型Grunt任务。
分类:
编程语言 时间:
2014-07-15 00:48:52
阅读次数:
438
引言最近在Angular社区的原型开发者间,一种全Javascript的开发架构MEAN正突然流行起来。其首字母分别代表的是:(M)ongoDB——NoSQL的文档数据库,使用JSON风格来存储数据,甚至也是使用JS来进行sql查询;(E)xpress——基于Node的Web开发框架;(A)agul...
分类:
编程语言 时间:
2014-07-14 19:48:42
阅读次数:
343
#@ root: the root of searched tree
#@ nodeToFind: the tree-node to be found
#@ path: the path from root to node
#@@
#@@ search tree referenced by root, and return the path
#@@ from root to node, if n...
分类:
其他好文 时间:
2014-07-14 16:45:51
阅读次数:
217
Node.js Web开发、进阶(模块加载、控制流、部署、弊端。...
分类:
Web程序 时间:
2014-07-14 12:51:37
阅读次数:
259