码迷,mamicode.com
首页 >  
搜索关键字:scala set map list    ( 131561个结果
ASP + ACCESS保存图片文件之实现
con.execute "CREATE tblImg (lngId COUNTER PRIMARY KEY, binImg IMAGE)"set ads=createobject("adodb.stream")ads.type=1ads.mode=3ads.openads.loadFromFile ...
分类:数据库   时间:2014-05-08 19:26:02    阅读次数:376
研二下学期做的第一个项目(主要关于datagridview的一些笔记)
首先是行标题列rowheaderdataGridView1.TopLeftHeaderCell.Value = "details";_______________________________________________________有的时候在datagridview中手动添加列的时候,就算...
分类:Windows程序   时间:2014-05-08 19:21:15    阅读次数:390
OpenJudge Trans
#include#include#include#include#include#include#include#include#include#include#includeusing namespace std;const int inf=(int)1E9,maxT=100+1,maxn=20,...
分类:其他好文   时间:2014-05-08 19:16:07    阅读次数:275
ios摇一摇功能
在 UIResponder中存在这么一套方法- (void)motionBegan:(UIEventSubtype)motion withEvent:(UIEvent*)event__OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_3_0);- (void)moti...
分类:移动开发   时间:2014-05-08 19:14:41    阅读次数:401
通过HTML,XML,VML,TIME,相关来执行XSS -寒龙关注网络安全 欢迎关注
. time attributename 和 values 联用xxx直接在元素上使用:防止单行代码看不见防止单行代码看不见2. time onbegin ,比较鸡肋的地方是,只要有onxxx过滤器的,就没啥用3. time set attributename toxxx4. vml onmouse...
分类:Web程序   时间:2014-05-08 19:01:38    阅读次数:454
中文分词——正向最大匹配法
中文分词应用很广泛,网上也有很多开源项目。我在这里主要讲一下中文分词里面算法的简单实现,废话不多说了,现在先上代码 package com; import java.util.ArrayList; import java.util.List; public class Segmentation1 { private List dictionary = new ArrayList(); ...
分类:其他好文   时间:2014-05-07 16:30:27    阅读次数:317
codechef Chef and The Right Triangles 题解
Chef and The Right Triangles The Chef is given a list of N triangles. Each triangle is identfied by the coordinates of its three corners in the 2-D cartesian plane. His job is to figure out how m...
分类:其他好文   时间:2014-05-07 16:28:35    阅读次数:314
关联容器(底层机制) — 红黑树
set、map、multiset、multimap四种关联式容器的内部都是由红黑树实现的。在STL中红黑树是一个不给外界使用的独立容器。既然是容器,那么就会分配内存空间(节点),内部也会存在迭代器。关于红黑树的一些性质,可以参考“数据结构”中的笔记,这里只记录STL中的红黑树是如何实现的。 和slist一样,红黑树的节点和迭代器均采用了双层结构: 节点:__rb_tree_no...
分类:其他好文   时间:2014-05-07 15:55:28    阅读次数:487
jquery closest方法
.closest( selector ) Description: For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tre...
分类:Web程序   时间:2014-05-07 15:07:34    阅读次数:380
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!