分辨率和像素经新xcode6模拟器验证(分辨率为pt,像素为真实pixel):1.iPhone5分辨率320x568,像素640x1136,@2x2.iPhone6分辨率375x667,像素750x1334,@2x3.iPhone6 Plus分辨率414x736,像素1242x2208,@3x,(注...
分类:
移动开发 时间:
2014-11-04 17:07:59
阅读次数:
235
Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at...
分类:
其他好文 时间:
2014-11-04 14:28:59
阅读次数:
179
### 比例 > 2x = @2x > Retina 4 = 568h@2x > Retina HD 4.7 = @2x > Retina HD 5.5 = @3x ### iOS图标 iPhone 6 Plus @3x 180 x 180 iPhone 6 && 5 @2x 120 x 120 iPhone 4s @2x 120 x 120 iPad && mini2+ @2x 1...
分类:
移动开发 时间:
2014-11-03 01:38:32
阅读次数:
263
最近学习《C Primer Plus》位操作部分,结合书上的编程实例来巩固这部分知识点。 1 //使用位运算显示二进制数 2 #include 3 char *itobs( int, char*); //integer to binary string 4 vo...
分类:
其他好文 时间:
2014-11-02 22:32:34
阅读次数:
453
今天在做练习9.22时,始终出现segments fault。最后才发现原来是自己对“容器insert之后迭代器会失效”的理解不够透彻。题目如下:假定iv是一个int的vector,下面的程序存在什么错误?你将如何修改?1 auto iter = iv.begin();2 auto mid = iv...
分类:
编程语言 时间:
2014-11-02 21:00:22
阅读次数:
216
Chapter 1.11. 每个C++程序都必须有且只能有一个main函数,main函数的返回类型必须是int。操作系统通过调用main函数来运行C++程序。2. 一个函数的定义包含四部分:返回类型、函数名、形参列表以及函数体。3. 当return语句包含一个值时,此返回值的类型必须与函数的返回类型...
分类:
编程语言 时间:
2014-11-02 20:54:22
阅读次数:
261
A problem is easy描述When Teddy was a child , he was always thinking about some simple math problems ,such as “What it’s 1 cup of water plus 1 pile of d...
分类:
其他好文 时间:
2014-11-02 17:57:15
阅读次数:
141
??目前主流iOS设备的分辨率: 2048*1536: iPad 3,4,Air,iPad Mini Retina 1024*768: iPad 2 1920*1080: iPhone 6 Plus 1334*750: iPhone6 1136*640: iphone5s,iphone5c,iphone5,ipod touch6 !960*640: iPhone4,...
分类:
移动开发 时间:
2014-11-02 16:42:15
阅读次数:
166
C++primer(第五版)第二章相关总结包含基本数据类型的最小尺寸和类型所占字节数和最大值和最小值;C++11特性的基本变量类型:long long类型,nullptr常量(空指针),constexpr变量,auto类型指示符,decltype类型指示符;C++primer(第五版)第二章部分易错习题的讲解与提示;有关基本类型与c语言的一些细节性差别的感悟!...
分类:
编程语言 时间:
2014-11-02 09:32:11
阅读次数:
257
在11.2中引出了许多DIAG的视图
TABLE_NAME
------------------------------
V$DIAG_ADR_CONTROL
V$DIAG_ADR_INVALIDATION
V$DIAG_ALERT_EXT
V$DIAG_AMS_XACTION
V$DIAG_CRITICAL_ERROR
V$DIAG_DDE_USER_ACTION
V$DIAG...
分类:
数据库 时间:
2014-11-01 23:17:02
阅读次数:
539