1、ADT(抽象数据类型) 1 ADT String 2 { 3 数据: 4 以顺序或链接方式存储的字符串,假定其存储类型是String 5 6 操作: 7 void Assign(String &temp, char *str); ...
分类:
其他好文 时间:
2014-08-14 23:15:36
阅读次数:
309
电脑中安装wps上传execl时,上传.xls文件时报错application/kset文件类型不正确打印array()print_r($_FILES)结果如下:Array([userfile]=>Array([name]=>Template.xls[type]=>application/kset[tmp_name]=>C:\\Windows\\temp\\phpACC.tmp[error]=>0[size]=>7..
分类:
移动开发 时间:
2014-08-14 20:56:19
阅读次数:
178
因为有 “用户上传脚本,动态运行”的需求,所以要动态地import用户上传的模块
所以写了个函数动态地import
# -*- coding: utf-8 -*-
import os
import sys
import os.path
import Queue
import commands
def test(rootDir):
#判断传入的路径下是否有“__ini...
分类:
编程语言 时间:
2014-08-14 20:52:29
阅读次数:
259
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path....
分类:
其他好文 时间:
2014-08-14 20:50:59
阅读次数:
192
现在,又回归到代码编写了。
其实,安安静静地享受编码的过程,是一个很美好的旅程,从此以后,就尽情享受这一过程吧。
现在,就遇到了在Windows上如何访问和操作超长文件(长度超过256)的问题。此前一直使用open、read、write等Windows原始开发接口,为照顾和Linux、Unix等接口类型的兼容性,没有使用Win32的SDK接口,这下搞不定了。
经过...
分类:
其他好文 时间:
2014-08-14 20:41:53
阅读次数:
293
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, 1 ...
分类:
其他好文 时间:
2014-08-14 20:20:09
阅读次数:
206
public static XmlDocument getDoc(String path)//加载xml文档 { XmlDocument doc = new XmlDocument(); doc.Load(path); ...
分类:
其他好文 时间:
2014-08-14 19:52:59
阅读次数:
241
效果:代码:#include"cv.h"
#include"cxcore.h"
#include"highgui.h"
#include<iostream>
intMatchTemplate(intargc,char**argv)
{
IplImage*temp=cvLoadImage("e:\\picture\\tou.jpg");
IplImage*src=cvLoadImage("e:\\picture\\4.jpg");
IplImage*result[6];
CvPointM..
分类:
其他好文 时间:
2014-08-14 17:10:39
阅读次数:
291
电脑中安装wps上传execl时,上传.xls文件时报错application/kset文件类型不正确打印array()print_r($_FILES)结果如下:Array([userfile]=>Array([name]=>Template.xls[type]=>application/kset[tmp_name]=>C:\\Windows\\temp\\phpACC.tmp[error]=>0[size]=>7..
分类:
移动开发 时间:
2014-08-14 16:57:19
阅读次数:
190
电脑中安装wps上传execl时,上传.xls文件时报错application/kset文件类型不正确打印array()print_r($_FILES)结果如下:Array([userfile]=>Array([name]=>Template.xls[type]=>application/kset[tmp_name]=>C:\\Windows\\temp\\phpACC.tmp[error]=>0[size]=>7..
分类:
移动开发 时间:
2014-08-14 16:56:59
阅读次数:
250