CHM是一种常见的帮助文件格式,也是电子书的一种格式。
下面是使用QuickCHM制作chm的步骤:1.先将所有的word文档存储为mht格式,点击,文件--另存为网页,如下2.确保所有的word文档都已经拥有了自己的mht备份。3.用QuickCHM导入工程,点击,文件--CHM向导,选择文...
分类:
其他好文 时间:
2014-05-29 04:23:19
阅读次数:
304
1.对序列进行分组的函数(摘自web.py源码utils.py文件中) 1 def
group(seq, size): 2 """ 3 Returns an iterator over a series of lists of length
size from iterable. ...
分类:
编程语言 时间:
2014-05-28 04:21:00
阅读次数:
365
You are given a string,S, and a list of
words,L, that are all of the same length. Find all starting indices of
substring(s) in S that is a concatenati...
分类:
其他好文 时间:
2014-05-28 04:03:54
阅读次数:
240
public class BubbleSortLib { public int[]
Sort(int[] arr) { for (int outer = arr.Length - 1; outer...
分类:
其他好文 时间:
2014-05-28 03:12:37
阅读次数:
223
一、编辑模板 替换地方以变量标记如“案件编号”可写成{caseNo}
template.xml二、准备数据 以HashMap封装数据,原理是替换模板中的变量三、替换操作 选择输出位置:writePath
WordUtil.printWordbyXMLWithOutputPath(templat...
分类:
其他好文 时间:
2014-05-28 03:07:52
阅读次数:
328
LENGTH()函数是比较简单同时也是非常有用的一个函数,在此小记一下,加深印象以备后用!1:先上实验的例子——我新建了一张Student表,插入了若干条测试数据,如下图所示:2:实验LENGTH()函数3:实验LENGTHB()函数解释一:此处的LENGTH()函数用于获取对应字段的字符长度解释二...
分类:
数据库 时间:
2014-05-28 02:11:55
阅读次数:
528
[1,2,3].length可以得到 3,"123".length 也可以得到
3,这个略懂js的都知道。但是
eval.length,RegExp.length,"".toString.length,1..toString.length会得到什么呢?分别得到
1,2,0,1,这些数字代表什么呢?这...
分类:
Web程序 时间:
2014-05-28 00:43:00
阅读次数:
281
1、冒泡排序(自己写) #include#define swap(x,y) x=x+y; y=x-y;
x=x-y;void maopao(int *a,int length)
//每次把最大的元素冒泡到数组末尾,从小到大的顺序,length是数组长度,a是数组名,作为形参之后,数组名退化为指针{ ...
分类:
其他好文 时间:
2014-05-27 23:59:27
阅读次数:
434
翻译水平有限,见谅!Uncle Bob13 Aug
2012ArchitectureCraftsmanshipOver the last several years we’ve seen a whole
range of ideas regarding the architecture of s.....
分类:
其他好文 时间:
2014-05-26 19:20:25
阅读次数:
354
题目:给定两个字符串word1,word2,将word2变成word1所需的最小步数。规定只能用以下三种操作进行修改,且每种操作的步数都计为1.
op1:插入一个字符
op2:删除一个字符
op3:替换一个字符
例:
word1 = word, word2 = wore, 则将wore的e替换为d则可。
word1 = word,word2 = wor,则在wor的后面插入一个d则可...
分类:
其他好文 时间:
2014-05-25 22:56:24
阅读次数:
303