1.数组定义:var 数组标志符 : Array[0..100] of integer;注意,只有全局数组才能赋初值如:var num : array[0..5] of integer = (1,2,3,4,5,6);Code highlighting produced by Actipro Cod...
分类:
编程语言 时间:
2014-12-16 21:00:26
阅读次数:
161
原文:PHP 18:data_valid_fns.php 看正则表达式本章介绍正则表达式。先看看data_valid_fns.php的代码吧。
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.Cod...
分类:
Web程序 时间:
2014-12-03 18:33:58
阅读次数:
207
Linux装软件就是折磨人!!Mplayer官网下好release版本然后./configure --[options]注意:--prefix=/usr/local/mplayer 是安装路径--enable-gui 安装图形化用户界面--enable-freetype 调节字体--with-cod...
分类:
其他好文 时间:
2014-12-01 23:57:15
阅读次数:
409
dubbo使用方法。Dubbo采用全Spring配置方式,透明化接入应用,对应用没有任何API侵入,只需用Spring加载Dubbo的配置即可,Dubbo基于Spring的Schema扩展进行加载。如果不想使用Spring配置,而希望通过API的方式进行调用(不推荐),可以参见:http://cod...
分类:
其他好文 时间:
2014-11-29 21:27:54
阅读次数:
261
系统编码顺序:1, a.encode(sys.stdout.encoding)2, a.encode(default_string)sys.stdout.encoding里的值可以用环境变量PYTHONIOENCODING来影响例如:#coding:utf-8a=u'你好'printa相当于#cod...
分类:
编程语言 时间:
2014-11-29 11:43:13
阅读次数:
161
Follow the below steps to reverse the Production Order,1. First check your Production order is settled. If its reverse the settlement using KO88 t-cod...
分类:
其他好文 时间:
2014-11-26 13:53:06
阅读次数:
138
国际惯例:转载或引用时请注明原文出处。今天看到了 Object.observe 这个方面,感觉不错,这里就来简单介绍下。Object.observe 这个方法 可以监听到 某个 对象的属性改变情况。使用方法如下Object.observe(user,function(changes){ //cod....
分类:
其他好文 时间:
2014-11-24 16:45:10
阅读次数:
148
MRC这个词应该是我编的,ARC,Automatic Reference Counting,手工引用计数就应该是:Manual Reference Counting,那就应该是MRC喽,不过没有见人这样用过。ARC引入了新的语句管理自动释放池语法:@autoreleasepool { // Cod....
分类:
其他好文 时间:
2014-11-22 18:50:00
阅读次数:
187
题目大意:闯关答题,每一个题可以用两个trick中的一个来解决,一个trick最多只能使用一次,问最多可以连续答对多少题。
思路:我一开始就想到了二分图最大匹配,但是思路完全想歪了。我看每个题有两个trick可以用,就用这个来拆点建图,显然是错的。。
正确的是用每个题和每个trick来建边,来一个问题就建两条边,然后看能不能找到增广路,如果不能就无法答对这个题,输出。
COD...
分类:
其他好文 时间:
2014-11-06 14:53:51
阅读次数:
195
How to use storyboard?Between the controller and the contrller. We can use it to jum. You can use it for online operations and use code.how to use cod...
分类:
其他好文 时间:
2014-11-05 16:50:34
阅读次数:
213