#include#include#include#include#includeusing
namespace std;class node{public: int val; node* left; node* right;
node():val(0),left(NULL),...
分类:
其他好文 时间:
2014-05-26 21:36:49
阅读次数:
264
概念:模块(Module)和包(Package)是Node.js最重要的支柱。
开发一个具有一定规模的程序不可能只用一个文件,通常需要把各个功能拆分、分装、然后组合起来。模块正式为了实现这种方式而诞生,在浏览器JavaScript中,脚本模块的拆分和组合通常使用HTML的script标签来实现,.....
分类:
Web程序 时间:
2014-05-26 20:33:20
阅读次数:
356
#include#include#include#include#include#includeusing
namespace std;class node{public: int val; node* left; node* right;
node():val(0),lef...
分类:
其他好文 时间:
2014-05-26 16:14:18
阅读次数:
280
转自:http://www.askmaclean.com/archives/add-node-to-11-2-0-2-grid-infrastructure.html在之前的文章中我介绍了为10g
RAC Cluster添加节点的具体步骤。在11gr2中Oracle CRS升级为Grid Infra...
分类:
其他好文 时间:
2014-05-26 15:22:31
阅读次数:
335
无聊写了个单链表排序,不是很难。但是插入写起来很麻烦,都没有,本文全部是将链表中节点值互换,不改变结构,所以很容易写出来 #includeusing
namespace std;struct node{ int n; struct node* next;};//创建链表void swap(int
&...
分类:
其他好文 时间:
2014-05-26 14:52:14
阅读次数:
227
#include#include#include#include#include#include#includeusing
namespace std;class node{public: int val; node* left; node* right; node():va...
分类:
其他好文 时间:
2014-05-26 14:49:14
阅读次数:
247
链表struct Node{int data;//数据域struct Node
*next;//指针域};//基本操作:创建,插入,删除,打印[百科示例]无需事先知晓链表数据的长度,充分利用内存空间,事先灵活的内存动态管理。链表允许插入和移除表上任意位置上的节点,但是不允许随机存取。因为它包含指向另...
分类:
其他好文 时间:
2014-05-26 14:16:31
阅读次数:
357
#include#include#include#include using namespace
std;template class joseph{ struct node { T data; node * next; node():next(...
分类:
编程语言 时间:
2014-05-26 13:58:27
阅读次数:
215
#include #include #include using namespace std;int
n;int vis[10000000];int mode1,mode2;struct node{ int step,status;};void
print(int x){ int tmp...
分类:
其他好文 时间:
2014-05-26 13:50:43
阅读次数:
262
前面展示了使用nodejs技术和jqm来搭建一个简单的支持CRUD操作应用的服务端部分(参见:nodejs
+ jquery
Mobile构建一个简单的移动web(服务端)),服务端采用nodejs技术实现,使用了mongodb数据库和轻量级web开发框架expressJS,
路由使用restful...
分类:
移动开发 时间:
2014-05-26 13:07:21
阅读次数:
356