估计很多人都是用惯了Visual Studio的主,怎么也不适应Linux的一套编辑器,比如vim、source insight这些东西,可视化的eclipse效果还好点,但一般以远程共享一台Linux服务器为主,没那么好条件一人一个Linux机器。我用了有几个月的insight,也就看看代码,反正...
分类:
系统相关 时间:
2014-07-25 19:11:21
阅读次数:
364
字符串类型不匹配错误信息:[Local HR Data [2]] Error: There was an error with Local HR Data.Outputs[OLE DB Source Output].Columns[DivisionC] on Local HR Data.Output...
分类:
其他好文 时间:
2014-07-25 13:58:41
阅读次数:
319
Java compiler level does not match the version of the installed Java project facet Assuming that you are using the m2e plugin in Eclipse, you‘ll need to specify the?source?and?targetversions as...
分类:
其他好文 时间:
2014-07-25 00:11:14
阅读次数:
223
在/etc/profile追加exportHISTORY_FILE=/var/log/history/userhistory.log
readonlyPROMPT_COMMAND=‘{date"+%y-%m-%d%T#####$(whoami|awk"{print\$1\"\"\$2\"\"\$NF}")####$(id|awk"{print\$1}")####$(history1|{readxcmd;echo"$cmd";})";}>>$HISTORY_FILE‘重读source/et..
分类:
系统相关 时间:
2014-07-24 23:54:14
阅读次数:
281
In the partime, a simle program attracted my attention whose content is to change number to english by reading rule of money.It took about one hour to deal with this question. Now the source was shar...
分类:
其他好文 时间:
2014-07-24 23:15:23
阅读次数:
280
source insight是一款很好的c语言的程序编辑器,方便对project管理,方便程序的阅读和编辑。查找功能使用十分频繁,选项较多,与其它软件的查找功能也类似,下面对英文版的查找功能,做简单说明:
查找参数:
whole words only : 全字匹配查找
case sensitive : 区...
分类:
其他好文 时间:
2014-07-24 17:41:36
阅读次数:
233
Situation one: you are trying to compile a package from source and you discover that somebody has already done the work for you of modifying it slight...
分类:
其他好文 时间:
2014-07-24 12:15:45
阅读次数:
323
Android为不同类型的进程分配了不同的内存使用上限,如果应用进程使用的内存超过了这个上限,则会被系统视为内存泄漏,从而被kill掉。Android为应用进程分配的内存上限如下所示:位置: /ANDROID_SOURCE/system/core/rootdir/init.rc 部分脚本# Defi...
分类:
移动开发 时间:
2014-07-24 10:13:13
阅读次数:
306
`1.CGRectInset````CGRect CGRectInset ( CGRect rect, CGFloat dx, CGFloat dy);````return rect which is smaller or larger than the source with the...
分类:
其他好文 时间:
2014-07-24 05:05:48
阅读次数:
264
累了就要写题解,最近总是被虐到没脾气。
来回最短路问题貌似也可以用DP来搞,不过拿费用流还是很方便的。
可以转化成求满流为2 的最小花费。一般做法为拆点,对于 i 拆为2*i 和 2*i+1,然后连一条流量为1(花费根据题意来定) 的边来控制每个点只能通过一次。
额外添加source和sink来控制满流为2。
代码都雷同,以HDU3376为例。
#include
#include
#...
分类:
其他好文 时间:
2014-07-23 22:40:08
阅读次数:
560