这是一个编译错误,在ADT的编译器和SDK的工具有差异或是版本不一致时常会出现的一个问题,解决的方案如下:第一步:
updated eclipse (Help->Check for
updates)第二步:升级SDK的Tools和platform-tools第二步:在Eclipse->Project...
分类:
其他好文 时间:
2014-05-19 22:13:11
阅读次数:
464
控制worker的移动,推动箱子到目标位置。Point.java(点,用以计算人当前的位置)package
edu.pushbox.util;public class Point { public int row; public int column; public
Point(i...
分类:
其他好文 时间:
2014-05-16 04:26:54
阅读次数:
434
问题1
[root@localhost ~]# gluster peer status
Connection failed. Please check if gluster daemon is operational.
原因:未开启glusterd服务
解决方法:开启glusterd服务
/etc/init.d/glusterd start
问题2
[root@loc...
分类:
其他好文 时间:
2014-05-16 02:50:16
阅读次数:
391
【题目】
原文:
1.8 Assume you have a method isSubstring which checks if one word is a substring of another. Given two strings, s1 and s2, write code to check if s2 is a rotation of s1 using only one...
分类:
其他好文 时间:
2014-05-16 01:50:08
阅读次数:
311
DELL服务器硬件监控及DELL系统管理工具OMSA介绍
本文介绍采用使用Nagios和OMSA监控DELL服务器的硬件健康状态,Nagios监控的方式是NRPE模式,需要配置check_openmanage脚本和安装DELL的OMSA工具。...
分类:
其他好文 时间:
2014-05-16 01:48:56
阅读次数:
440
折腾C++的类型系统是一个很有意思的事情。当钻进去之后就会发现,一些原先比较晦涩的基本概念,在研究的过程中都清晰了不少。
check_type的实用价值在于,可以利用它清晰的看见C++中一些隐藏的类型变化。比如完美转发时的引用折叠。
在实现check_type的过程中,用到了不少泛型,甚至元编程的小技巧,充分运用了C++在预处理期、编译期和运行期(RAII)的处理能力。虽然这些代码仅是学习研究时的兴趣之作,实际项目中往往typeid的返回结果就足够了,但上面的不少技巧对一些现实中的项目开发也有一定的参考和...
分类:
编程语言 时间:
2014-05-16 01:44:26
阅读次数:
354
【题目】
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Find two lines, which together with x-axis forms a contain...
分类:
其他好文 时间:
2014-05-16 01:32:47
阅读次数:
406
一般都用GDI实现:void
CXiangpijinView::OnMouseMove(UINT nFlags, CPoint point) { // TODO: Add your
message handler code here and/or call default CVi...
分类:
其他好文 时间:
2014-05-15 21:04:55
阅读次数:
330
A linked list is given such that each node
contains an additional random pointer which could point to any node in the list
or null.Return a deep copy ...
分类:
其他好文 时间:
2014-05-15 21:00:06
阅读次数:
325
ERROR:function@Ordinalxxxmissing今天新定制了一个OS,测试以前的应用程序,程序无法运行,查看串口信息有如下错误提示:ERROR:function@Ordinal1883missing!!!PleaseCheckyourSYSGENvariable!!!这通常是系统缺少某个组件导致的。查看\WINCE600\PUBLIC\COMMON\OAK\LIB\ARMV4I\..
分类:
其他好文 时间:
2014-05-15 19:08:38
阅读次数:
259