source insight是一款很好的c语言的程序编辑器,方便对project管理,方便程序的阅读和编辑。查找功能使用十分频繁,选项较多,与其它软件的查找功能也类似,下面对英文版的查找功能,做简单说明:
查找参数:
whole words only : 全字匹配查找
case sensitive : 区...
分类:
其他好文 时间:
2014-07-24 17:41:36
阅读次数:
233
微软近期Open的职位:Job posting title: Senior Software Development EngineerLocation: China, BeijingDivision: Operations System Group Engineering Group Overvie...
分类:
移动开发 时间:
2014-07-24 14:47:25
阅读次数:
300
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
以前看到那边分屏操作的觉得很高端,现在初步整理了一下。这里不是那个用代码实现的分屏,完全属于linux的操作命令一、打开并显示文件1.打开这个不用说了,就是vi xx.c,或者vi xx1.c xx2.c如果vi已经打开,则在底行模式输入 :open xx.c2.显示终端底行模式输入 :split ...
分类:
系统相关 时间:
2014-07-24 12:12:15
阅读次数:
502
1、ls产生一个文件名的列表,它大致是这样工作的: open directory
+-> read entry - end of dir? -+
|__ display file info |
close directory <--------------+ 2、目录是一种特殊...
分类:
系统相关 时间:
2014-07-24 10:56:24
阅读次数:
332
Android为不同类型的进程分配了不同的内存使用上限,如果应用进程使用的内存超过了这个上限,则会被系统视为内存泄漏,从而被kill掉。Android为应用进程分配的内存上限如下所示:位置: /ANDROID_SOURCE/system/core/rootdir/init.rc 部分脚本# Defi...
分类:
移动开发 时间:
2014-07-24 10:13:13
阅读次数:
306
微软近期Open的职位:Job posting title: Senior Software Development EngineerLocation: China, BeijingDivision: Operations System Group Engineering Group Overvie...
`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
MainActivity如下:
package cc.cc;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
/**
* Demo描述:
*
* 一年多前遇到一个问题--->:
* 1 客户从GooglePlay上下载了我参与的开发的应用
* 2 下载完成后,...
分类:
移动开发 时间:
2014-07-23 22:38:07
阅读次数:
352