码迷,mamicode.com
首页 >  
搜索关键字:sub    ( 10221个结果
Insertion Sort
Implementation in PHP: 1 $sub; $k--){28 $a[$k] = $a[$k-1];29 }30 $a[$sub] = $t;31 }32 }33 34 $arr = array(9, 5, 2, 7, ...
分类:其他好文   时间:2014-11-09 17:55:55    阅读次数:100
VBA学习笔记(2)-过程
过程是执行一个或多个给定任务的集合。分成:子程序和函数。1.子程序[Private|Public|Friend] [Static] Sub name [(arglist)][staements][Exit sub][statements]End SubFriend 表示Sub在整个工程可见,但对象实...
分类:编程语言   时间:2014-11-09 15:06:46    阅读次数:201
[005] unique_sub_string
[Description] Given a string, find the largest unique substring.e.g. str[] = "asdfghjkkjhgf"; sub[] = "asd";[Thought] create an auxiliary space 'r...
分类:其他好文   时间:2014-11-09 11:13:04    阅读次数:142
【转】Android NDK学习(3)使用Javah命令生成JNI头文件 .
第一步:在Eclipse中创建android项目,并声明Native接口:public native int add (int a, int b);public native int sub (int a, int b);编译、运行;这样在bin目录下就会生成类文件;第二步:打开命令行cmd,到达b...
分类:移动开发   时间:2014-11-07 23:12:40    阅读次数:294
工位上的Python——一倒霉的sub-message
今天想写一个邮件的解析文件,看书上有这么一段代码,源代码大致如下:importsys,email mailFile=open(‘./ReceivedHeader.txt‘,‘r‘) #mail载入并存入内存并解析它 #msg=email.message_from_file(sys.stdin) msg=email.message_from_file(mailFile) #print"msg.items()function..
分类:编程语言   时间:2014-11-07 06:27:06    阅读次数:266
Makefile使用,Makefile的优化全过程
以一组简单的.c文件为例。从编译命令到Makefile的学习过程。 gcc参数不做过多叙述,如下这几个文件及内容: add.c int add(int a int b) { return a+b; } sub.c int sub(int a ,int b) { return a-b; } cal.h #ifndef __CAL_H_ #define _...
分类:其他好文   时间:2014-11-06 23:37:56    阅读次数:317
ListView双击事件
1 Private Sub lstShowRunning_MouseDoubleClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles lstShowRunning.M....
分类:其他好文   时间:2014-11-06 19:20:31    阅读次数:179
thinkphp分页搜索条件带中文参数
1 /** 2 * 中文处理 3 * @param type $str 4 * @return str 5 * $author lxh 6 */ 7 function url2word($str){ 8 $sub=s...
分类:Web程序   时间:2014-11-06 10:42:51    阅读次数:230
重置浏览器默认样式
*{ font:12px/1.5Arial,Helvetica,sans-serif;}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,l..
分类:其他好文   时间:2014-11-05 15:08:10    阅读次数:322
ORACLE SUBSTR函数
substr('This is a test', 6, 2)='is'substr('This is a test', 6) ='is a test'substr('TechOnTheNet', -3, 3) ='Net'substr('TechOnTheNet', -6, 3) ='The'sub...
分类:数据库   时间:2014-11-04 14:59:16    阅读次数:161
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!