1、错误描述
freemarker处理哈希表的内建函数
张三强
Expected collection or sequence. maps evaluated instead to freemarker.core.HashLiteral$SequenceHash on line 13, column 17 in map.ftl....
分类:
其他好文 时间:
2014-06-20 12:34:57
阅读次数:
392
一直想要写的 二叉树 中序 先序 后序遍历算法
递归的太简单了,就不写了。关键是非递归版本。
先序:
我自己的版本:
void RootPreTraverse(Node* p)
{
Stack S;
while(S not empty)
{
p=S.top();
S.pop();
Show(p);
if(p->right!=null)
S...
分类:
其他好文 时间:
2014-06-20 10:55:49
阅读次数:
279
17.4、Making User-Managed Backups of Online Tablespaces and Datafiles
当数据库打开时,可以备份一个在线表空间所有和一个指定的数据文件。备份过程的区别依赖于在线表空间是read、write或者read-only。
注意:不应该备份临时表空间
17.4.1、Making User-Managed Backups of Onlin...
分类:
其他好文 时间:
2014-06-20 10:04:43
阅读次数:
289
1、错误描述
六月 04, 2014 11:04:03 下午 freemarker.log.JDK14LoggerFactory$JDK14Logger error
严重: Template processing error: "Expression maps.key is undefined on line 15, column 25 in map.ftl."
Expression maps...
分类:
其他好文 时间:
2014-06-07 13:59:28
阅读次数:
298
1 #include 2 #include 3 using namespace std; 4 5
/*计算一个整数的二进制中1的个数*/ 6 int NumberOf1( int n) { 7 int count = 0; 8 9 while (n) {10
11 ...
分类:
其他好文 时间:
2014-06-07 10:33:11
阅读次数:
181
json.Append(String.Format("{\"total\":{0},\"row\":{1}}",
lineCount, strJSON));直接会报错字符串中包含{或者},则需要用{{ 来代替字符 {,用}} 代替
}如:json.Append(String.Format("{{\"...
分类:
Web程序 时间:
2014-06-07 08:48:42
阅读次数:
921
typedef 定义数组类型typedef charLine[81];//Line是char[81]
(而不是说char是line[81])Line text, secondline;typedef
intmat4by4[4][4];//4*4的二维数组mat4by4 mymat;typedef 定...
分类:
其他好文 时间:
2014-06-07 08:44:48
阅读次数:
222
double solve(){ double M,RM; double L = 0.0; double
R = INF; while (L + eps < R) { M = (L + R) / 2; RM = (M + R) / 2; ...
分类:
其他好文 时间:
2014-06-07 08:35:50
阅读次数:
252
public static void WriteLog(string msg) { string
appPath = AppDomain.CurrentDomain.BaseDirectory; string ServerPath = appPath +
@"\Log" + DateTime.No....
分类:
其他好文 时间:
2014-06-07 07:15:18
阅读次数:
292