一个int占多少个字节?这个问题我们往往得到的答案是4.可是int究竟占多少个字节,却跟你的机器环境有关.As you can see, the typical data type sizes match the ILP32LL model, which is what most compilers...
分类:
其他好文 时间:
2014-10-24 18:49:16
阅读次数:
137
(?!=XXX[:|:|\s]?)\d{16}(?!=XXX)表示查找XXX内容,但最终结果不包括它(?=XXX)表示查找XXX内容,最终结果包括它[:|:|\s]? 表示 全角冒号,半角冒号,空格 或没有字符(pattern) 匹配pattern 并获取这一匹配。所获取的匹配可以从产生的Match...
分类:
其他好文 时间:
2014-10-24 18:04:04
阅读次数:
736
今天在Flex中使用RemoteObject进行java调用时,报错java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for…. 网上介绍的错误原因主要有以下几种: 1、**...
分类:
移动开发 时间:
2014-10-24 16:18:39
阅读次数:
293
你的任务是模拟一种叫「Accordian」的纸牌游戏,他的游戏规则如下: 一副扑克牌有52张牌,首先把纸牌一张一张由左到右排好(不能有重叠,所以共有52堆牌,每堆一张),当某一张牌与他左边那张牌或者左边的第三张牌有「Match」的时候,就把这张牌移到那张牌上面去。在这里两张牌「Match」指的是这两...
分类:
其他好文 时间:
2014-10-24 16:10:33
阅读次数:
258
Problem Description
After coding so many days,Mr Acmer wants to have a good rest.So travelling is the best choice!He has decided to visit n cities(he insists on seeing all the cities!And he does no...
分类:
其他好文 时间:
2014-10-24 13:01:58
阅读次数:
279
In cases like this, where the independent variable does not have an intrinsic ordering, it isoften a good idea to sort entries by the dependent variab...
分类:
其他好文 时间:
2014-10-24 12:32:15
阅读次数:
233
这是一道广为引用的面试题:var someText="web2.0 .net2.0";var pattern=/(\w+)(\d)\.(\d)/g;var outCome_exec=pattern.exec(someText);var outCome_matc=someText.match(patt...
分类:
编程语言 时间:
2014-10-24 12:24:47
阅读次数:
261
查看log:
cat /var/log/Xorg.0.log | grep EE[ 75.403] (EE) Failed to load module "modesetting" (module does not exist, 0)[ 75.403] (EE) Failed to load module "fbdev" (module does not exist, 0)[...
分类:
其他好文 时间:
2014-10-24 11:07:22
阅读次数:
259
每天积累一点点,加油!!!2014.10.24bucket list : a list of things someone wants to do before he dies.The movie "2012" does remind me that I have yet to finish my ...
分类:
其他好文 时间:
2014-10-24 10:31:19
阅读次数:
190
Xcode6.1 发布 出现 The ipa is invalid. It does not include a Payload Directory 错误...
分类:
其他好文 时间:
2014-10-24 01:43:43
阅读次数:
172