[_xibView mas_updateConstraints:^(MASConstraintMaker *make) { make.top.offset(300); make.width.offset(100); make.height.offset(100); }];1. a...
分类:
其他好文 时间:
2015-06-13 18:27:13
阅读次数:
136
目标通过一篇文章的介绍达到能够编写简单Makefile以及能够看懂普通的Makefile之目的。make简介make是一个老牌的构建(build)工具,1970年问世以来已经度过了45年的时光而魅力不减,这在技术发展日新月异的今天是不可思议的。make在大型的软件项目中发挥着巨大作用。我是在学习Linux kernel时才第一次接触它,Android系统也是用make和python等脚本一起构建系统...
分类:
移动开发 时间:
2015-06-13 14:17:14
阅读次数:
144
规则:目标 : 依靠 命令make是怎样工作的: (1)make在当前文件夹下寻找makefile或Makefile。 (2)假设找到,他会寻找文件里的第一个目标文件(target)。并把这个文件作为第一个目标。 (3)假设目标文件不存在,或者目标文件所依赖的.o文件改动时间要比目标文件新,...
分类:
系统相关 时间:
2015-06-13 11:13:13
阅读次数:
197
问题1.在执行make命令时却出现了问题,具体如下:sysdeputil.o: In function `vsf_sysdep_check_auth':sysdeputil.c:(.text+0x109): undefined reference to `crypt'sysdeputil.c:(.t...
分类:
其他好文 时间:
2015-06-12 19:14:31
阅读次数:
117
原文网址:http://blog.csdn.net/chenyafei617/article/details/6570928一、Introduction今天我们就来谈谈如何在Ubuntu平台上面编译android源码,我的是ubuntu10.04版本,在进行编译流程讲解之前我想讲一下 make 、m...
分类:
移动开发 时间:
2015-06-12 11:32:24
阅读次数:
140
Problem Description
Given two sequences of numbers : a[1], a[2], ...... , a[N], and b[1], b[2], ...... , b[M] (1 <= M <= 10000, 1 <= N <= 1000000). Your task is to find a number K which make a[K] =...
分类:
其他好文 时间:
2015-06-12 10:05:21
阅读次数:
114
今天再用一个android和php之间加密传输的问题,提示: ?Cannot make a static reference to the non-static method ...... ?解决方法:先实例化类,然后再调用。 如: MCryptAES srtaes = new MCryptAES();??...
分类:
其他好文 时间:
2015-06-11 17:15:33
阅读次数:
135
250
Description
给a,b的gcd为G,lcm为L,求min(a+b)
Solution
水题,把a,b都先除以G,然后枚举即可
Code#include
using namespace std;
#define pb push_back
#define mp make_pair
#define F first
#define S second...
分类:
其他好文 时间:
2015-06-11 16:57:51
阅读次数:
113
linux下源码安装:下载源码:https://nodejs.org/download/1)解压:tar -zxvf node-v0.12.4.tar.gz2)进入解压后的目录:./configure3)make4)make install默认安装路径 /usr/local/bin/node
分类:
Web程序 时间:
2015-06-11 16:14:29
阅读次数:
112
1 #include 2 #define MAXN 50000 3 using namespace std; 4 5 int parent[MAXN]; 6 int Find_set(int); 7 void Make_set(int); 8 void Union(int,int); 9 int.....
分类:
其他好文 时间:
2015-06-11 12:57:17
阅读次数:
132