Dalvik Virtual Machine (good on limited hardware)Duplicate data used in class files is included only once in the .dex output, which saves space and us...
分类:
移动开发 时间:
2014-10-27 17:06:39
阅读次数:
218
原帖:http://group.zol.com.cn/1/641_485.html需要准备工具:一个8GU盘X1(或Win7安装版系统盘) Windows 7 pro 64bit位ISO文件!(只支持64位) 部分激活工具! 一部可以上网的手机or电脑。所遇问题:1,iMa...
分类:
移动开发 时间:
2014-10-26 21:11:50
阅读次数:
373
A message containing letters from A-Z is being encoded to numbers using the following mapping:
'A' -> 1
'B' -> 2
...
'Z' -> 26
Given an encoded message containing digits, determine the total numb...
分类:
其他好文 时间:
2014-10-26 17:04:00
阅读次数:
194
VMware安装unbuntu 12.04 LTS时,当你使用VMware的Easy Mode安装时,提示需要安装VMware Tools,屏幕会出现下方的文字:
installed unbuntu 12.04 LTS in VMware workstation 7.0 and the VMware used the "Easy Mode".
When I finish the intal...
分类:
系统相关 时间:
2014-10-26 10:20:00
阅读次数:
408
一、String类:
①。构造字符串对象
常量对象:字符串常量对象是用双引号括起的字符序列。例如:"你好"、"12.97"、"boy"等。
字符串的字符使用Unicode字符编码,一个字符占两个字节
String类较常用构造方法:
String s1 = new String();
String s2 = new String(String original);
String ...
分类:
编程语言 时间:
2014-10-25 18:48:40
阅读次数:
244
1:流状态操作:bad,fail,eof,good;流状态:badbit,failbit,eofbit; 2:badbit在第3位,failbit在第2位,eofbit在第1位;第1位是最低位。 3:流的正常输入后,是可以继续输入的,当eof发生时,fail也是跟着发生的,当然相反则不是。通过rds...
分类:
其他好文 时间:
2014-10-25 17:05:01
阅读次数:
172
英文原文:The
10 commandments of good source control management
若是还有可以毫无偏见地涉及各个编程语言,比源代码管理软件更必要的工具,我倒是很想见识一下。源代码管理软件是我们工作的必备工具,是许多开发团队的血液。那为什么我们都会对它有所误解呢?为什么都很难理解版本控制系统的核心价值和基本原理呢?
我总结出 10 条惯例——如果你...
分类:
其他好文 时间:
2014-10-24 14:44:40
阅读次数:
126
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
1.判断文件是否打开if(a.fail())if(!a.good())if(!a)上面3个等价但上面的无法检测到 : 以不合适的文件模式打开文件失败a.is_open()可以检测到这个错误所以推荐使用 if(!a.is_open())2. if( !fin ) { co...
分类:
编程语言 时间:
2014-10-24 10:45:06
阅读次数:
180