NSTimer的使用方法1、初始化+ (NSTimer
*)timerWithTimeInterval:(NSTimeInterval)ti target:(id)aTarget
selector:(SEL)aSelector userInfo:(id)userInfo repeats:(BOOL)...
分类:
其他好文 时间:
2014-05-23 07:01:44
阅读次数:
224
1.编译时出现No rule to make target
错误,尝试删除XXX/proj.android/obj/local/armeabi/objs这个文件夹。2.android.mk正确写法LOCAL_PATH
:= $(call my-dir)include $(CLEAR_VARS)LOC...
分类:
移动开发 时间:
2014-05-21 22:59:16
阅读次数:
374
java是什么?java是一门高级编程语言。是由C++发展而来。java具有跨平台性,“一次编译,到处运行”。java的开发环境JDK
(java develope kit )java开发工具 javac java编译器 将.java——>.class 二进制字节码 java 解释器
解释.cl.....
分类:
编程语言 时间:
2014-05-21 22:38:37
阅读次数:
267
本文主要包含如下内容: 1. Debug 和 Release 编译方式的本质区别2.
哪些情况下 Release 版会出错3. 怎样“调试” Release 版的程序Debug 和 Release 编译方式的本质区别 Debug
通常称为调试版本,它包含调试信息,并且不作任何优化,便于程序员调试程....
分类:
其他好文 时间:
2014-05-21 21:33:53
阅读次数:
273
通过javac编译java文件1.先导入需要引用的包D:\Program Files
(x86)\apache-tomcat-7.0.53\webapps\test\WEB-INF\classes>set
classpath=%classpath%;D:\Program Files (x86)\ap...
分类:
编程语言 时间:
2014-05-21 20:21:14
阅读次数:
244
【题目】
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.
Each number in C may only be used once in the combination.
Note:
All numbers (including target) will be ...
分类:
其他好文 时间:
2014-05-21 15:55:25
阅读次数:
259
我们知道 android NDK 程序在崩溃时会生成一个 tombstone 的 backtrace (也可利用 ADB logcat 抓取),从这个 backtrace 中我们可以了解是哪个函数引发的崩溃,但是通常由于我们发布时都是 release 版,无法利用 backtrace 中的地址信息直接定位到源码和行号,当引发崩溃的错误不是很明显时,对于我们解决问题的帮助就不大。
这时通常我们是重...
分类:
移动开发 时间:
2014-05-21 15:30:02
阅读次数:
502
【题目】
Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.
The same repeated number may be chosen from C unlimited number of times.
Note:
All numbers (including target) w...
分类:
其他好文 时间:
2014-05-21 15:21:28
阅读次数:
292
Installing in iOS (Xcode 5)
1:首先你要有一个项目。LOL
2:添加一个新的测试target。(关于Target是什么,请参考我的另外一篇文章)最新版Xcode 将Add Target放在顶部栏
3:选择新的target的类型
4:将GHUnit框架放到新建的target中
5:打开Objective-C categories,...
分类:
移动开发 时间:
2014-05-21 07:49:12
阅读次数:
399
题目:
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up t...
分类:
其他好文 时间:
2014-05-21 07:42:18
阅读次数:
230