一:strtok
C/C++:char *strtok(char s[], const char *delim);
s 代表需要分割的字符串,delim代表分割的标志,参数都为比选!返回指向分割部分的指针,如果没有分割成功就返回NULL.
一个简单的例子:...
分类:
其他好文 时间:
2014-06-05 10:01:51
阅读次数:
139
题目如下;
Quadtrees
A quadtree is a representation format used to encode images. The fundamental ideabehind the quadtree is that any image can be split into four quadrants. Each...
分类:
其他好文 时间:
2014-06-05 04:20:06
阅读次数:
226
1.Excel VBA点击单元格时执行事件!Private Sub
Worksheet_SelectionChange(ByVal Target As Range)If Target.Column = 1 And
Target.Count = 1 ThenMsgBox "你选中了:" & Targe...
分类:
其他好文 时间:
2014-06-04 17:57:29
阅读次数:
248
1.Problem DescriptionGiven a sequence
a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a
sub-sequence. For example, given (6,-1,5,4,-...
分类:
其他好文 时间:
2014-06-02 17:36:53
阅读次数:
234
以下是今日练习通过逗号来分割字符数组/字符串的2个例子和方法“ 1.通过indexOf函数
/**Splitsplit sketch*split a comma-separated string*/String message =
"Peter,Paul,Mary";int commaPositio...
分类:
其他好文 时间:
2014-06-02 14:08:34
阅读次数:
258
2014-06-01 BaoXinjian In
Capgemini一、摘要嵌套事物:指在一个Parent事务中嵌套的一个或多个Sub
Transaction.并且主事务与其相互影响,这种事务就称为嵌套事务。以Commit作为事务的结束自治事物:指在function,procedure等subpro...
分类:
数据库 时间:
2014-06-02 13:32:36
阅读次数:
450
Sub 分页小计()If ActiveSheet.ProtectContents Then
MsgBox "工作表已保护,本程序拒绝执行!", 64, "提示": Exit SubDim columm As String, colunn As
String, Title_Rows As Byte, ...
分类:
其他好文 时间:
2014-06-02 13:15:56
阅读次数:
348
2014-06-02 BaoXinjian一、摘要实现OAF的Sub Tab功能二、
案例需求:实现OAF的Sub Tab功能1. 建立SubTabs,并建立三个Link,建立三个Region,系统会按Region和Link的顺序进行排序2.
进行测试三、 案例实现1. 查找对应的Document ...
分类:
其他好文 时间:
2014-06-02 11:05:14
阅读次数:
213
memcpystack proc dest,src,cnt ;cnt is a count of
dwords ;this function has a granularity of dwords mov edx,src mov eax,dest sub
eax...
分类:
其他好文 时间:
2014-06-02 08:31:34
阅读次数:
432
freemarker中的split字符串分割
1、简易说明
split分割:用来根据另外一个字符串的出现将原字符串分割成字符串序列
2、举例说明
"${name}"
"${num}"
3、示例结果
"张三三"
"李思思"
"...
分类:
其他好文 时间:
2014-06-01 15:30:13
阅读次数:
487