案件回放:
打开游戏,进行上线前的检查,在检测功能的时候,莫名其妙的就崩溃,闪退了。。。。。。立即重新拉起游戏,准备简单的重现之后找研发来修复,发现不能必现了。这个时候去提单也太Low了~~~找到研发问了下,本身的应用是否有做crash异常上报。(目前这一块的Open Source框架比较多,我就不在此累赘复述了)直接查看上一次的crash异常上报信息,结合symbol 信息还原...
分类:
移动开发 时间:
2014-12-10 18:12:18
阅读次数:
224
Header files should be self-contained.All header files should have #define guards to prevent multiple inclusion. The format of the symbol name should ...
分类:
编程语言 时间:
2014-12-09 19:08:31
阅读次数:
238
题目
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list.
For example,
Given 1->2->3->3->4->4->5, return 1->2->5.
Giv...
分类:
其他好文 时间:
2014-12-09 17:50:05
阅读次数:
142
Given a set of distinct integers, S, return all possible subsets.
Note:
Elements in a subset must be in non-descending order.The solution set must not contain duplicate subsets.
For example,...
分类:
编程语言 时间:
2014-12-08 21:29:03
阅读次数:
285
以下参考了网上的一些资料并通过程序验证。注意,以下情况都是用gcc和g++编译器得到的结果,用vs编译器又会有所不同。以下说下c和c++中const定义的常量的一些区别:c++中用const定义了一个常量后,不会分配一个空间给它,而是将其写入符号表(symbol table),这使得它成为一个编译期...
分类:
编程语言 时间:
2014-12-08 21:00:43
阅读次数:
179
【题目】
Given a set of distinct integers, S, return all possible subsets.
Note:
Elements in a subset must be in non-descending order.The solution set must not contain duplicate subsets.
...
分类:
其他好文 时间:
2014-12-08 17:47:58
阅读次数:
191
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
(i.e., 0 1 2 4 5 6 7 might become 4
5 6 7 0 1 2).
Find the minimum element.
You may assume no duplicate exists in ...
分类:
其他好文 时间:
2014-12-08 15:38:43
阅读次数:
141
在currennt工程中新添加了一个文件x.cu与x.hpp,最后编译整个工程的时候就出现了这个问题:error LNK2019: unresolved external symbol这是链接错误,表示没有找到编译好的二进制库文件~这很诡异,因为我并没有引用什么第三方的lib(这很容易出现上述问题)...
分类:
编程语言 时间:
2014-12-08 00:31:08
阅读次数:
219
项目报错如下:ld: warning: ignoring file /xxxx/xxxx/ZBarSDK/libzbar.a ld: symbol(s) not found for architecture x86_64项目设置支持64位,如下图:原因:ZBarSDK不支持64位所致。支持64位.....
分类:
其他好文 时间:
2014-12-07 12:28:07
阅读次数:
1348
Remove Duplicates from Sorted List IIGiven a sorted linked list, delete all nodes that have duplicate numbers, leaving onlydistinctnumbers from the or...
分类:
其他好文 时间:
2014-12-06 16:48:45
阅读次数:
170