std::set, 模板写的平衡二叉树的集合容器, method: insert, count,std:map,映射和多重映射基于某一类型Key的键集的存在,提供对T类型的数据进行快速和高效的检索std::vector,存放任意类型的动态数组的容器, .push_back(elen)尾部加入一个.....
分类:
编程语言 时间:
2014-06-18 20:24:10
阅读次数:
317
1、什么是FragmentTransaction?
使用Fragment时,可以通过用户交互来执行一些动作,比如增加、移除、替换等。
所有这些改变构成一个集合,这个集合被叫做一个transaction。
可以调用FragmentTransaction中的方法来处理这个transaction,并且可以将transaction存进由activity管理的back stack中,这样用户就可以进行...
Back to READMEGetting StartedThis page tells you how to install Native Client and run demos, both in and outside of the browser. On Linux and Mac OS X...
分类:
其他好文 时间:
2014-06-17 21:25:23
阅读次数:
418
/*容器做参数*/voidfunc(vector<int>&vecTest){for(inti=0;i<10;i++)vecTest.push_back(i);}
分类:
其他好文 时间:
2014-06-17 16:52:17
阅读次数:
241
http://www.oschina.net/question/54100_27841启动:onCreate()->onStart()->onResume当从Activity界面直接按Back键,onPause()->onStop()->onDestory()当从Activity界面按home键。o...
分类:
移动开发 时间:
2014-06-16 23:31:02
阅读次数:
275
线段树记录当前区间是哪一个长方形在覆盖。
然后根据每一条线更新线段树。
如果是左边的边,那么把区间更新成当前长方形。
否则,把区间更新成当前长方形的前驱。
#include
#include
#include
#include
#include
#include
#include
#include
#pragma comment(linker, "/STACK:1024000000,102...
分类:
其他好文 时间:
2014-06-16 11:26:00
阅读次数:
161
intout_max_length_crease_str(constchar*p,std::vector&vct){ vct.clear(); intnlen=strlen(p); if(nlen==0){ return0; } if(nlen==1){ vct.push_back(p); r...
分类:
其他好文 时间:
2014-06-15 21:01:04
阅读次数:
178
The following tips are designed to help you use the microwave bags, and usually on the back of each bag. Most of sterilization bags in the market, the...
分类:
其他好文 时间:
2014-06-15 20:50:27
阅读次数:
271
void dfs(int k,int target,vector& candidates,vector& sol,vector >& res){ if(target==0){ vector temp(sol); res.push_back(temp); return; }else if(tar...
分类:
其他好文 时间:
2014-06-14 10:31:07
阅读次数:
196
Android Tasks and Back Stack...
分类:
其他好文 时间:
2014-06-14 06:45:51
阅读次数:
317