06-03 20:45:24.143: E/AndroidRuntime(1230): FATAL EXCEPTION: main
06-03 20:45:24.143: E/AndroidRuntime(1230): java.lang.IllegalArgumentException: pointerIndex out of range
06-03 20:45:24.143: E/Andr...
分类:
编程语言 时间:
2014-06-20 12:23:54
阅读次数:
563
昨天在给客户端做天气展示页面的时候,发现很多app的天气页面背景图片都会缓慢移动,形成了一种3d的感觉。例如下雨,静态图片缓慢移动,雨滴位置变换感觉就真的在下雨。云朵的移动也很酷。于是研究了一下午。写了一个自定义view控件。
我的自定义控件继承了view,重写ondraw方法。本人C#转andr....
分类:
移动开发 时间:
2014-06-11 23:29:07
阅读次数:
428
问题:
在Visual C++ 6.0 下面运行正常的代码放到Visual Studio 20xx系列里就跑不动了,有时候会提示如下错误:
error C4996: 'fopen': This function or variable may be unsafe. Consider using
fopen_s instead. To disable deprecation, use _CRT...
分类:
其他好文 时间:
2014-06-08 03:17:14
阅读次数:
227
PathsumDescription:Given a binary tree and a
sum, determine if the tree has a root-to-leaf path such that adding up all the
values along the path equa...
分类:
其他好文 时间:
2014-06-08 01:11:46
阅读次数:
395
Follow up for "Unique Paths":Now consider if
some obstacles are added to the grids. How many unique paths would there be?An
obstacle and empty space i...
分类:
其他好文 时间:
2014-06-08 00:33:42
阅读次数:
339
Given a binary tree and a sum, determine if the
tree has a root-to-leaf path such that adding up all the values along the path
equals the given sum.Fo...
分类:
其他好文 时间:
2014-06-07 16:55:09
阅读次数:
173
题目
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.
For example:
Given the below binary t...
分类:
其他好文 时间:
2014-06-07 15:31:32
阅读次数:
179
【题目】
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.
For example:
Given the below binary tree and sum = 22,
5
/ ...
分类:
其他好文 时间:
2014-06-07 13:57:37
阅读次数:
210
Implement atoi to convert a string to an integer.
Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possible input ca...
分类:
其他好文 时间:
2014-06-07 12:21:30
阅读次数:
284
1、Swift是啥?百度去!度娘告诉你它是苹果最新推出的编程语言,比c,c++,objc要高效简单。能够开发ios,mac相关的app哦!是苹果以后大力推广的语言哦!2、Swift给你带来什么机会?当初你觉得objc太难,学ios学到一半放弃拉,或者进入it行业大家都搞android,你也搞andr...
分类:
其他好文 时间:
2014-06-06 11:55:57
阅读次数:
199