1、windows–>perferences–>general–>startup
and shutdown关掉没用的启动项: WTP :一个跟myeclipse差不多的东西,主要差别是 WTP
是免费的,如果使用myeclipse,这个可以取消 Mylyn:组队任务管理工具,类似于 CVS ,以.....
分类:
系统相关 时间:
2014-05-27 02:52:10
阅读次数:
290
/// /// 扩展方法类 /// public static class
CommonExtension { /// /// 数据类型对应转换方法字典 /// static Dictionary> dic_c...
分类:
Web程序 时间:
2014-05-27 02:50:17
阅读次数:
399
1 1, get value:$( "#myselect" ).val();//=>
12, get (inner)text:$( "#myselect option:selected" ).text();// => "Mr"ref:How
do I get the text value of a ...
分类:
其他好文 时间:
2014-05-27 02:25:09
阅读次数:
223
使用VS2010建立C++解决方案时,会生成SolutionName.sdf和一个叫做ipch的文件夹,这两个文件再加上*.pch等文件使得工程变得非常的庞大,一个简单的程序都会占用几十M的硬盘容量,可惜毕竟硬盘还没有廉价到免费的地步。那么,该怎么解决呢?其实可以关闭它。方法:Tools->Opti...
分类:
其他好文 时间:
2014-05-27 02:24:07
阅读次数:
226
输入输出重定向 1,输入输出重定向,是针对过滤器的,不针对,编辑器和交互工具
2,>号只把正确的标准输出重定向,输出错误信息,可以用2>
3,新建或清空文件可以直接用>filename,>和2>都会清空目标文件 4,&>号可以把正确信息和错误信息全部输出重定向6
5,>>可以把重定向追加到目标文件 ...
分类:
系统相关 时间:
2014-05-27 02:23:02
阅读次数:
272
AbsoluteLayout---->是一个按照绝对坐标定义的布局,由于使用绝对坐标去定位控件,因此要实现自适应界面时,应尽少使用
AbsoluteLayout 。RelativeLayout---->最好在界面设计时 做好布局,尽少程序运行时 做控件布局的更改,因为
RelativeLay...
分类:
移动开发 时间:
2014-05-27 02:20:27
阅读次数:
257
>____ 2 #include "ABC.h" 3 #define
ID_TIMER_ELLIPSE 1 4 #define ID_TIMER_RECTANGLE 2 5 6 CMyApp myApp; 7 8
/////////////////////////////////////////.....
分类:
其他好文 时间:
2014-05-19 13:01:22
阅读次数:
293
无符号数相加不会发生溢出。因为会直接截断。但是有符号数相加,会发生溢出。溢出表示大于最大表示了那么如何判断有符号数发生溢出呢?下面两个非负数相加if(a + b
INT_MAX - b)可行,不计算a+b或者(unsigned)a + (unsigned)b > INT_MAX 换成无符号,a+b....
分类:
其他好文 时间:
2014-05-19 12:45:15
阅读次数:
206
DescriptionIn order to get from one of the F (1
2 and 1 –> 6 –> 5 –> 21 – 4: 1 –> 2 –> 3 –> 4 and 1 –> 6
–> 5 –> 43 – 7: 3 –> 4 –> 7 and 3 –> 2 –> 5 ....
分类:
其他好文 时间:
2014-05-19 12:43:06
阅读次数:
200
#includeusing namespace std;bool solver(const int
a[],const int n, int & num){ if(NULL == a || 0>= n) return false;
////注意,是小写~ int count = 0; ...
分类:
其他好文 时间:
2014-05-19 12:11:20
阅读次数:
335