原来的版本是用fopen打开文件的,如果要从ANDROID的APK中取文件,直接就洗白了修改如下void CCCrypto::MD5File(const char* path, unsigned char* output){unsigned long len = 0;//to make sure w...
分类:
移动开发 时间:
2014-07-10 12:46:13
阅读次数:
316
最近很多朋友在问,为毛在WINDOWS下对了,跑ANDROID的虚拟机或者真机就黑屏了, 有的是只有FPS信息,有的是连FPS信息都没有。如果是程序能够正常启动,不会闪退,但显示不对。 那十有八九都是脚本有问题。 先不管你在PLAYER中为啥没问题,我们来说说如何快速查看问题吧。那就是在ECLIPS...
分类:
移动开发 时间:
2014-07-10 12:38:38
阅读次数:
283
运行环境:Windows 8.1 (64bits), VLC Media Player 2.1.3异常描述:首次启动VLC播放影音文件时,一切正常。此后每次启动VLC都弹出"VLC Crash Reporting",点击"Yes"或"No"后,VLC会开始播放文件,一切正常。解决方法:VLC安装完毕...
Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, where "adjace...
分类:
其他好文 时间:
2014-07-07 17:30:29
阅读次数:
160
The default music player on Debian 7.0 is Rhythmbox. At the first look, its appearance seems not so bad. Although it has the problem of displaying Chi...
分类:
系统相关 时间:
2014-06-30 13:15:51
阅读次数:
406
本系列所有文章可以在这里查看http://blog.csdn.net/cloud_castle/article/category/2123873
接上文...
分类:
其他好文 时间:
2014-06-30 11:09:33
阅读次数:
281
本系列所有文章可以在这里查看http://blog.csdn.net/cloud_castle/article/category/2123873...
分类:
其他好文 时间:
2014-06-30 06:19:15
阅读次数:
437
【题目】
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set.
get(key) - Get the value (will always be positive) of the key if the key exists in the cache, otherwise return -1.
se...
分类:
其他好文 时间:
2014-06-29 22:45:26
阅读次数:
358
Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:
其他好文 时间:
2014-06-29 20:28:58
阅读次数:
183
An iterative way of writing quick sort:#include #include #include using namespace std;void quickSort(int A[], int n) { stack> stk; stk.push(make_pair(...
分类:
其他好文 时间:
2014-06-29 20:16:45
阅读次数:
179