6.Entity Use CasesA MUC implementation MUST
supportService Discovery[7].服务端必须实现 service discover6.1Discovering Component
Support for MUC发现服务器是否支持mucA ...
分类:
其他好文 时间:
2014-06-11 10:10:31
阅读次数:
345
1、求一串字符串中连续出现次数最多的字串
#include#include#includeusing namespace std;pair fun(const string &str){
vector substrs; int maxcount=1,count=1; string substr; i...
分类:
其他好文 时间:
2014-06-10 00:18:57
阅读次数:
266
1. Navigation Drawer
许多应用程序都使用了Navigation Drawer,如网易邮箱客户端。该控件位于 android.support.v4.widget.DrawerLayout ,用法如下,点击下载源码:
<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.android...
分类:
其他好文 时间:
2014-06-08 09:15:07
阅读次数:
328
题目来源:Light OJ 1251 Forming the Council
题意:若干了条件至少满足一个 求是否有方案 输出任意一种可能的方案 留下的人的个数
思路:2-SAT基础题
#include
#include
#include
using namespace std;
const int maxn = 100010;
int n, m;
vector G[maxn*2];...
分类:
其他好文 时间:
2014-06-08 08:15:18
阅读次数:
261
部分摘自C++
Primer:所有的标准库容器类都定义了相应的iterator类型,如vector:vector::iterator
iter;这条语句定义了一个名为iter的变量,它的数据类型是由vector定义的iterator类型。理解一下:除了使用下标来访问vector对象的元素外,标准库还...
分类:
其他好文 时间:
2014-06-08 00:34:59
阅读次数:
350
因为平常用的话只是vector的一些非常简单的功能,基本上把它当数组来用,现在也只是把这一部分写了一些。 1
template 2 class XVector { 3 public: 4 XVector(int
cacheSize):cacheSize(cacheSize), count(0...
分类:
其他好文 时间:
2014-06-07 23:28:39
阅读次数:
287
mov esi, this ; vector u movups xmm0, [esi] ; first
vector in xmm0 movaps xmm2, xmm0 ...
分类:
其他好文 时间:
2014-06-07 22:51:23
阅读次数:
278
查了一大堆网上的资料全都没用,Google得知,是Windows 7 的socket泄漏
:https://supportkb.riverbed.com/support/index?page=content&id=S23580&actp=LIST_RECENT补丁下载地址:
http://suppo...
分类:
编程语言 时间:
2014-06-07 22:19:32
阅读次数:
857
1.错误:在eclipse中使用run->run on
server的时候,选择tomcat6会报错误:The server does not support version 3.0 of the J2EE Web
module specification2.原因:Tomcat 6.0最多支持Ser...
分类:
Web程序 时间:
2014-06-07 22:16:41
阅读次数:
339
JTable在显示所有数据之后,假如需要搜索某个名字,则会获取新的列表数据。假设datas是JTable的数据,定义为:
private Vector datas = new Vector();当你刷新数据的时候,应该这样: if (datas != null) {...
分类:
编程语言 时间:
2014-06-07 16:59:33
阅读次数:
228