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, given the fol...
分类:
其他好文 时间:
2014-10-29 14:36:46
阅读次数:
217
1、robocopy : 复制文件和目录树的高级使用程序(windows下) 2、【perl】File::Path mkpath 、rmtree分别为创建目录和删除目录,perl自带mkdir和rmdir,但是mkdir只能穿件一级目录mkpath可以一次创建多级;rmdir...
分类:
其他好文 时间:
2014-10-29 13:15:07
阅读次数:
228
一、下载安装包http://www.directfb.org/index.php?path=Main%2FDownloadsgit clone git://git.directfb.org/git/directfb/core/DirectFB.git二、编译1、安装自动配置需要的文件sudo apt...
分类:
其他好文 时间:
2014-10-29 12:43:21
阅读次数:
160
附加到txt:StreamWrite sw =System.IO.File.AppendText(path); //绝对路径 sw.Write("写入内容");写入到txt: StreamWrite sw2 =new StreamWrite();sw.Write("写入内容");最后都要 sw.Cl...
asp.net常用的生成word功能,代码也是网上常见的,自己本地反复测试过没问题。serves2003下运行没问题,可是发布到2008上就出错。组件权限已配置,windows目录下temp权限已给,程序目录权限已给,也加入了,连administrator的用户控制都关了。保存word文档时也出错(...
分类:
其他好文 时间:
2014-10-29 12:21:59
阅读次数:
1283
今天发现昨天从svn下载下来的项目在MyEclipse中无法build path 。提示no actions available
在网上找了下,是因为.projects文件的问题,需要在其中的natures 标签中添加一些nature标签...
分类:
系统相关 时间:
2014-10-29 10:58:21
阅读次数:
185
1 6行中,最后调用mk_dir时,is_dir()是为创建mkdir使用的,此时$path是有目录了,然后is_dir()判断后返回true,mk_dir收到立马从开始从后面往前面执行,又mkdir(),逐步创建目录,此为递归
分类:
其他好文 时间:
2014-10-29 10:46:22
阅读次数:
131
framework 4.0 环境下 方法 定义枚举类 判断枚举类中是否存在,若存在则输出 例子: Defined.QrCode.QrCodeType type;//枚举类 if (!Enum.TryParse( aa,out type))
{ context.Response.Write("枚举类不...
1.打开 >> Eclipse2.右击项目 >> Build path >> Configure Build path 如图1:图13.进入 >> Configure Build Path >> Libraries >> JRE System Librery[jdk1.8](双击) >> Alte....
分类:
编程语言 时间:
2014-10-29 10:39:25
阅读次数:
154
function test() { var temp = document.getElementById("text1"); //对电子邮件的验证 var myreg = /^([a-zA-Z0-9]+[_|\_|\.]...
分类:
Web程序 时间:
2014-10-29 10:32:02
阅读次数:
130