原因:在编辑php时添加的“–with-mcrypt”选项造成。解决方法:1、如果不需要mcrypt,那么编辑php时去掉该选项,然后再make、make install。2、如果需要mcrypt,那么需要安装libltdllibltdl在libmcrypt软件包中就有,具体过程:#cd /soft...
分类:
Web程序 时间:
2014-06-18 23:29:26
阅读次数:
252
printf("member:%d\n",member);//find current signoffsSAFECALL(AOM_ask_value_tags(msg.task,"signoff_attachments", &num, &signoffs));//remove exists revi...
分类:
其他好文 时间:
2014-06-15 07:21:08
阅读次数:
270
1.枚举所有文件夹(递归)void EnumerateFolders (){ WIN32_FIND_DATA fd; HANDLE hFind = ::FindFirstFile (_T ("*.*"), &fd); if (hFind != INVALID_HANDLE_VALU...
分类:
其他好文 时间:
2014-06-14 23:57:43
阅读次数:
376
$(document).ready(function(){ // 切换样式 $("#saturday > li > a").click(function(){ var thisobj = $(this).html(); $("#saturday").find(...
分类:
Web程序 时间:
2014-06-14 23:52:34
阅读次数:
408
Question:Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the below binary tree, .....
分类:
其他好文 时间:
2014-06-14 20:59:07
阅读次数:
188
Linux系统文件有三个主要的时间属性,分别是ctime(change time, 而不是create time), atime(access time), mtime(modify time)。后来为了解决atime的性能问题,还引入了一个relatime的属性,下面一一解释。ctime, 很多朋...
分类:
其他好文 时间:
2014-06-14 20:33:31
阅读次数:
191
Decription:Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, gi...
分类:
其他好文 时间:
2014-06-14 19:46:12
阅读次数:
251
原始题目如下,意为寻找数组和最大的子串,返回这个最大和即可。
Find the contiguous subarray within an array (containing at least one number) which has the largest sum.
For example, given the array [?2,1,?3,4,?1,2,1,?5,4],
the...
分类:
其他好文 时间:
2014-06-14 15:08:00
阅读次数:
224
一、find 命令格式1、find命令的一般形式为;find pathname -options [-print -exec -ok ...]2、find命令的参数;pathname: find命令所查找的目录路径。例如用.来表示当前目录,用/来表示系统根目录。-print: find命令将匹配的....
分类:
其他好文 时间:
2014-06-14 13:49:54
阅读次数:
251
题目
Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.
Note:
Elements in a triplet (a,b,c) ...
分类:
其他好文 时间:
2014-06-14 12:45:13
阅读次数:
209