packagecom.virtual.robot.main;importjava.util.Timer;importjava.util.TimerTask;importorg.jivesoftware.smack.Chat;importorg.jivesoftware.smack.ChatManager;importorg.jivesoftware.smack.XMPPConnection;importandroid.content.Intent;importandroid.os.Bundle;importa..
分类:
其他好文 时间:
2014-07-26 03:16:07
阅读次数:
258
头文件需要继承CCTableViewDataSource和CCTableViewDelegate
//CCScrollViewDelegate
virtual void scrollViewDidScroll(CCScrollView* view){};
virtual void scrollViewDidZoom(CCScrollView* view){};
//CCTableVie...
分类:
其他好文 时间:
2014-07-26 02:29:46
阅读次数:
215
ll T;
while(~scanf("%d",&T)){
while(T--) {
= = ...
思路:
用秩合并,看了题解才发现 if(fx == fy)要输出当前集合的秩而不是0。。。
#include
#include
#include
#include
#include
#include
#include
#include
#include
#inc...
分类:
其他好文 时间:
2014-07-26 02:14:47
阅读次数:
222
INPUT语句1 INPUT Food $; /*采用list-style input,字符型变量默认长度为8*/2 INPUT Food $1-10; /*采用column input,长度由列的数量决定*/3 INPUT Food $15.; /*采用formatted input,长度form...
分类:
其他好文 时间:
2014-07-26 01:44:26
阅读次数:
218
/* USB Standard Device Descriptor */const u8 Virtual_Com_Port_DeviceDescriptor[] = { 0x12, /* bLength */ //USB设备描述符的总长度固定为18个字节,因此为12H USB_D...
分类:
其他好文 时间:
2014-07-26 01:00:16
阅读次数:
328
#ifndef _PRODUCT_H_H#define _PRODUCT_H_Hclass Product{public: virtual ~Product() = 0;protected: Product();private:};class ConcreteProduct : public Pro...
分类:
其他好文 时间:
2014-07-26 00:55:46
阅读次数:
178
XListCtrl,强大的ListCtrl!到目前为止,我所遇到的所有ListCtrl都用XListCtrl解决了。
XListCtrl能支持什么?
修改column的背景色、大小、线条、做成check……
修改item背景色、行背景色、做成edit、做成combox、做成check、做成进度条……
你还能想到什么?!...
分类:
其他好文 时间:
2014-07-24 23:32:03
阅读次数:
555
Format:column column_name new_value var_nameMeaning: use the column_name of a select statment to construct a variable, later we can use &var_name to r...
分类:
数据库 时间:
2014-07-24 22:38:53
阅读次数:
270
MySQL 加入?列,改动列,删除列ALTER TABLE:加入?,改动,删除表的列,约束等表的定义。查看列:desc 表名;改动表名:alter table t_book rename to bbb; 加入?列:alter table 表名 add column 列名 varchar(30); 删...
分类:
数据库 时间:
2014-07-24 14:42:45
阅读次数:
232
这个错误是Eclipse里面的一个bug,我们通过如下的设置就可以解决它。打开eclipse安装目录下的eclipse.ini文件:将其中的256m改为128m,512m改为256m,1024m改为512m即可。修改后的文件内容如下:-startupplugins/org.eclipse.equin...
分类:
编程语言 时间:
2014-07-24 09:47:43
阅读次数:
245