最近开始重新学习C/C++,第一步当然就是IDE环境配置,一直Eclipse,buxiang...
分类:
编程语言 时间:
2014-06-22 21:53:24
阅读次数:
297
Given a sorted array of integers, find the starting and ending position of a given target value.
Your algorithm's runtime complexity must be in the order of O(log n).
If the target is not found ...
分类:
其他好文 时间:
2014-06-22 21:47:15
阅读次数:
269
报错内容:configure: error: mcrypt.h not found. Please reinstall libmcrypt
网上搜索了很多,包括自带的 yum install libmcrypt libmcrypt-devel,这个是没有效果的。
去SourceForget下载libmcrypt http://sourceforge.net/projects/mcrypt/fi...
分类:
Web程序 时间:
2014-06-22 21:13:35
阅读次数:
272
apt-get无法下载,网址报 Not Found 404,原因是apt软件下载源有问题。
1.将/etc/apt/source.list里的内容替换。
再其它可以下载apt的ubuntu机器中拷贝过来覆盖此文件,再执行apt-get
update更新source list。
2.“软件更新管理”->"设置"->“ubuntu软件”->“下载自”中修改软件下载源。...
分类:
其他好文 时间:
2014-06-22 20:39:06
阅读次数:
150
如果一个应用抛出大量的Class not found信息,一般你会怀疑包冲突。可是tomcat的webappclassloader却有这样的问题:如果一个应用发布出现问题, webappclassloader的started属性被设为false.然后其它线程如果继续使用webappclassloader进行class load,则大量的Class not found异常被抛出: 1391 ...
分类:
移动开发 时间:
2014-06-22 19:53:31
阅读次数:
211
Failed to load JavaHL Library.
These are the errors that were encountered:
no libsvnjavahl-1 in java.library.path
no svnjavahl-1 in java.library.path
no svnjavahl in java.library.path
java.libr...
分类:
编程语言 时间:
2014-06-22 18:49:58
阅读次数:
342
功能:
实现多线程:2个线程同时工作,一个用时间计数器,一个用来打印信息
STEP1
XCODE -》New Application -》Cocoa中的Command Line
自动增加:
#include
STEP2
//
// main.c
// test_runloop1
//
// Created by DMD on 20/6/14.
// Copyri...
分类:
编程语言 时间:
2014-06-22 17:39:26
阅读次数:
283
Last night it took me about two hours to learn arrays. For the sake of less time, I did not put emphaises on the practice question, just now when reading the book, I found that some methods
referred...
分类:
其他好文 时间:
2014-06-22 17:14:10
阅读次数:
152
背景:
某表忽然出现查询非常缓慢的情况,cost 100+ 秒以上;严重影响生产。
原SQL:
explain plan for
select * from (
select ID id,RET_NO retNo, FROM_SYS fromSy, TO_SYS toSys, COMMAND_CODE commandCode, COMMAND, STATUS,
EXT_CODE,...
分类:
数据库 时间:
2014-06-22 14:32:23
阅读次数:
277
函数名: system
功 能: 发出一个DOS命令
用 法: int system(char *command);
system函数已经被收录在标准c库中,可以直接调用
system()函数用于向操作系统传递控制台命令行,以WINDOWS系统为例,通过system()函数执行命令和在DOS窗口中执行命令的效果是一样的,所以只要在运行窗口中可以使用的命令都可以用SY...
分类:
编程语言 时间:
2014-06-22 06:32:14
阅读次数:
312