有时候在开发过程中,总是会遇到一些莫名奇妙的错误,或者在使用fragement和viewpage的时候,就会出现下面这个错误,如果出现找不到android-support-v4 包的时候,可以使用下面的方法进行添加:Project->properties->Java Build Path->Libr...
分类:
移动开发 时间:
2014-07-22 22:53:15
阅读次数:
265
Given an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]return2.Your algorithm should ru...
分类:
其他好文 时间:
2014-07-22 22:52:33
阅读次数:
166
Description
Instant Complexity
Analyzing the run-time complexity of algorithms is an important tool for designing efficient programs that solve a problem. An algorithm that r...
分类:
其他好文 时间:
2014-07-19 18:26:15
阅读次数:
268
环境:CentOS6.2 64位操作:使用gdb调试C++查询MySQL数据库的程序原因:解决办法:1、 修改文件/etc/yum.repos.d/CentOS-Debuginfo.repo中的enabled参数,将其值修改为1,如:vi /etc/yum.repos.d/CentOS-Debugi...
分类:
其他好文 时间:
2014-07-19 17:17:36
阅读次数:
199
今天想研究一下php,于是我安装了zend studio,研究php,对php文档怎么能没有呢?于是下载了几份chm格式的文档,居然每一份都是打不开内容的我还以为是电脑问题,可是好几份文档不可能都这样啊!!于是乎google中!!!原来是这样,windows对chm文档有一个锁定项,右键文档=》属性...
分类:
其他好文 时间:
2014-07-19 14:22:32
阅读次数:
178
//插入排序:package org.rut.util.algorithm.support; import org.rut.util.algorithm.SortUtil;/** * @author treeroot * @since 2006-2-2 * @version 1.0 */public...
分类:
编程语言 时间:
2014-07-19 14:08:41
阅读次数:
274
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset.get(key)- Get the valu...
分类:
其他好文 时间:
2014-07-19 12:13:13
阅读次数:
254
一、在windows平台上面:以前我都是用purify,因为没有正版的,很是麻烦。后来我开始用windows自带的umdh,也很好用:http://support.microsoft.com/kb/268343/en-us摘要一下步骤如下:1、准备工作:1 gflags -i +ust注:得先把g....
分类:
编程语言 时间:
2014-07-18 18:23:33
阅读次数:
288
1.zend server 安装好后需要重启下.无论是win还是mac..win不重启组件不能用.mac 不重启守护进程是离线的2.修改apache配置.的根目录.到zendstudio的工作空间Listen 80DocumentRoot "K:\zendworkspace" Options ...
分类:
其他好文 时间:
2014-07-18 17:31:51
阅读次数:
210
这个是在我在Openwrt的SDK下编译模块的时候碰到的问题。
Package helloworld is missing dependencies for the following libraries: libc.so.6...