参见http://www.cplusplus.com/reference/map/multimap/ 多重映射multimap和map映射很相似,但是multimap允许重复的关键字,这使得multimap在某些情况下会更有用,比如说在电话簿中同一个人可以有多个电话号码 multimap中并没有像m...
分类:
其他好文 时间:
2015-06-01 22:22:48
阅读次数:
105
警告 1由于存在对由程序集“c:\Program Files\Reference Assemblies\Microsoft\VSTO40\v4.0.Framework\Microsoft.Office.Tools.Excel.dll”创建的程序集的间接引用,因此创建了对嵌入的互操作程序集“c:\Pr...
分类:
其他好文 时间:
2015-06-01 22:12:56
阅读次数:
225
学习了安卓以后还是不理解Context的用法:Api文档链接http://wear.techbrood.com/reference/android/content/Context.html 一个非常好的视频:http://www.tudou.com/programs/view/DtRZxB868TE...
分类:
移动开发 时间:
2015-06-01 18:42:39
阅读次数:
132
题目大意:给定1000个点,求有多少组4个点可以形成平行四边形这里可以找到一个特别关键的点在于如果能形成平行四边形,2个点的中点必然相交那么只要将所有点的中点都计算出来,然后排个序计算出现的次数即可,这里算中点可能会出现小数,可以直接不除以2,这样是中点的2倍也没问题 1 #include 2 #....
分类:
其他好文 时间:
2015-06-01 18:34:17
阅读次数:
123
(1)Download the MongoDB C#驱动.http://www.nuget.org/packages/mongocsharpdriver/.(2) Add Reference to C# 驱动 DLLs1MongoDB.Bson.dll2MongoDB.Driver.dll3Mong...
分类:
数据库 时间:
2015-06-01 16:40:07
阅读次数:
191
在Android工程项目中,我们经常需要引用第三方依赖包library,有可能遇到以下引用报错的问题:在设置完library后重新打开显示管理错误,就是reference那里有个红叉叉,eclipse没有报错。那么有可能是因为:在windows系统下,你的工程项目跟要引用的library工程项目不是...
分类:
移动开发 时间:
2015-06-01 16:23:54
阅读次数:
123
参见http://www.cplusplus.com/reference/set/set/ /*template , // set::key_compare/value_compare class Alloc = allocator // set::allocator_type > class se...
分类:
其他好文 时间:
2015-05-31 20:10:40
阅读次数:
166
修改:less对象、排序sort 参见http://www.cplusplus.com/reference/map/map/ /* template , // map::key_compare class Alloc = allocator > // map::allocator_type > .....
分类:
其他好文 时间:
2015-05-31 16:47:46
阅读次数:
189
API接口文档。
https://developer.apple.com/library/mac/#documentation/Carbon/Reference/CoreText_Framework_Ref/_index.html
CoreText 框架中最常用的几个类:
CTFont
CTFontCollection
CTFontDescriptor...
分类:
移动开发 时间:
2015-05-31 00:08:39
阅读次数:
262
Below paragraph is from , I do think it's a good reference for us. Some rules also can be applied for other document review, for example, on specifica...