1.当希望方法返回多个值时,声明out方法很有用。这样使方法可以有选择地返回值。using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 求数组最大最小值{ class...
分类:
其他好文 时间:
2014-07-07 14:53:45
阅读次数:
190
Given two integers n and k, return all possible combinations of k numbers out of 1 ... n.
分类:
其他好文 时间:
2014-07-07 14:48:39
阅读次数:
160
1 public IQueryable LoadPageuserInfos(int pageSize, int pageIndex, out int total, 2 Func wherelambda, Func orderbyLambda, bool isasc) 3 ...
分类:
其他好文 时间:
2014-07-07 14:13:08
阅读次数:
188
EBS安装完成后,对数据库相关配置的改动1.转为ASM,数据文件,控制文件,redo log,archived log从文件系统转移至ASM2.禁用resource manager由于发现系统的一个等待事件:resmgr:cpu quantum,这是由于resource manager的原因。看来r...
分类:
数据库 时间:
2014-07-07 13:19:51
阅读次数:
267
DFS 深度优先BFS 广度优先DFS或者BFS都是在联通区域内遍历节点的方法用在二叉树上DFS有preOreder,inOrder,postOrder,BFS就是层次遍历。在二叉树上的节点,只有两个选择,left 和right,即,对于每一个节点,in 有1个, out 有两个,有向图在矩阵的节点...
分类:
其他好文 时间:
2014-07-01 21:32:46
阅读次数:
278
A press release is a great way to create publicity for your cleaning business. Send out press releases to announce a newsworthy event about you, your ...
分类:
其他好文 时间:
2014-06-30 23:22:37
阅读次数:
275
1. 在Bourne shell / Bourne-again shell 和Korn shell中,digit1> & digit2 表示要将描述符digit1 重定向至描述符digit2的同一文件。请说明下面两条命令的区别。./a.out > outfile 2> &1./a.out 2>&1 ...
分类:
其他好文 时间:
2014-06-30 20:44:21
阅读次数:
234
本文介绍一下如何通过Eclipse将自己的项目打包成jar1、项目上右键单击 Export2、选择 Java - JAR file - [next >]3、进入jar包的配置界面,在这里勾选你想导出的jar所包含的文件Export generated class files and resource...
分类:
编程语言 时间:
2014-06-30 20:34:02
阅读次数:
369
#include
#include
#include
static char out_ip[15] = "52.0.10.188";
static int out_port = 8888;
int main()
{
char sSendBuf[2049], sRecvBuf[2049];
int connfd = 0, iRet = 0, iSend...
分类:
其他好文 时间:
2014-06-30 18:56:37
阅读次数:
247
编译 windows上编译lua源码
cl /MD /O2 /W3 /c /DLUA_BUILD_AS_DLL *.c
del *.o
ren lua.obj lua.o
ren luac.obj luac.o
ren print.obj print.o
link /DLL /IMPLIB:lua5.1.lib /OUT:lua5.1.dll *.obj
link /OUT:lua.ex...
分类:
其他好文 时间:
2014-06-30 18:18:38
阅读次数:
156