1.
写在开头本人写了一个自动创建cocos2dx工程的脚本。.bat文件,会修正Application.mk
文件,并且在桌面创建打开项目目录的快捷方式。使用条件:1. 在本地计算机中已安装python 2.7.6 版本,并将python安装目录加入到
PATH环境变量中。 2. 根据自己...
分类:
其他好文 时间:
2014-05-27 03:06:16
阅读次数:
387
刚刚在学习ViewPager的使用,于是想要观看它的源码。上网找了很多资料大概步骤如下1:
找到libs/android-support-v4.jar,对其Build Path-add toBuild Path2:Java Build
Path-Libraries android-support-v...
分类:
移动开发 时间:
2014-05-27 03:05:40
阅读次数:
291
1.IMAGE.SAVE(@path)string
path=System.Web.Hosting.HostingEnvironment.MapPath(“~/Images”)函数得到的路径
如果用在IMAGE.SAVE(@path) 函数中 需要转义符号或者path= path.Replace("...
分类:
其他好文 时间:
2014-05-27 01:33:19
阅读次数:
266
1、Server.MapPath(string path)简介
Server.MapPath(string
path)作用是返回与Web服务器上的指定虚拟路径相对应的物理文件路径。其参数path为Web服务器的虚拟路径,返回结果是与path相对应的物理文件路径2、获取指定目录下的所有文件Syste....
分类:
其他好文 时间:
2014-05-24 03:07:13
阅读次数:
340
环境配置项目使用SSH架构,现在要添加Spring事务管理功能,针对当前环境,只需要添加Spring 2.0
AOP类库即可。添加方法:点击项目右键->Build Path->Add librarys:打开Add Libraries对话框,然后选定
MyEclipse Libraries:点击Nex...
分类:
编程语言 时间:
2014-05-19 18:23:14
阅读次数:
539
wget 下载整个网站,或者特定目录 需要下载某个目录下面的所有文件。命令如下 wget -c
-r -np -k -L -p www.xxx.org/pub/path/ 在下载时。有用到外部域名的图片或连接。如果需要同时下载就要用-H参数。 wget
-np -nH -r --span-hosts...
分类:
其他好文 时间:
2014-05-19 12:39:55
阅读次数:
279
求树的最大路径和(Binary Tree Maximum Path Sum)...
分类:
其他好文 时间:
2014-05-18 18:25:41
阅读次数:
235
class file_send
{
public:
SOCKET send_s; //The socket that used for sending which is established previously
char * filename; //The full path of the file that the client...
1、
??
Path Sum
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.
For example:
Given the below...
分类:
其他好文 时间:
2014-05-18 03:25:06
阅读次数:
301
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-05-18 02:11:19
阅读次数:
302