码迷,mamicode.com
首页 >  
搜索关键字:implement strstr    ( 2381个结果
LeetCode OJ - LRU Cache
题目: Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset. get(key)- Get ...
分类:其他好文   时间:2014-05-16 05:42:29    阅读次数:280
vbs文件共享变量与函数的方法
参考资料:vbs能否像其他编程语言一样,把写好的代码打包成类库以供调用呢?经过搜索和实验,发现vbs文件之间可以互相调用并共享变量,这样我们就不用再反复地编写轮子了。 以下是一个调用实例:=====1.vbs开始=====dim strstr = "hello world"=====1.vbs结束=...
分类:其他好文   时间:2014-05-16 05:03:23    阅读次数:225
graph isomorphism 开源算法库VFlib, Nauty
VFlib 开源算法库网站:http://www.cs.sunysb.edu/~algorith/implement/vflib/implement.shtmlNauty 开源算法库网站:http://cs.anu.edu.au/people/bdm/nauty/
分类:其他好文   时间:2014-05-13 18:32:10    阅读次数:289
wine中complex::pow 补丁的实现
我发了一个wine的补丁,实现complex::pow的部分重载:http://source.winehq.org/patches/data/104267 HongQian帮我在irc上问了Piotr对这个补丁的看法,他说: “it generally looks ok but it's possible to implement it with better precision, so I...
分类:Windows程序   时间:2014-05-13 06:08:01    阅读次数:468
[Android]AndroidDesign中ActionBar探究2
上一节我们只是简单了介绍了Android Design风格中的ActionBar的简单实用,如添加MenuItem,这节我们会进一步了解ActionBar的其他功能。在Android Develop的文档(http://developer.android.com/training/implement...
分类:移动开发   时间:2014-05-12 09:10:11    阅读次数:426
·专题」 KMP
KMP 总结1.strstr函数|函数名: strstr|功 能: 在串中查找指定字符串的第一次出现 |用 法: char *strstr(char *str1, char *str2);|据说strstr和KMP的算法效率差不多|注意:返回的是该字符串第一次出现时的指针,所以如果要计算下标,可以用...
分类:其他好文   时间:2014-05-10 02:59:16    阅读次数:409
How to Implement Bluetooth Low Energy (BLE) in Ice Cream Sandwich
ShareThis - By Vikas VermaBluetooth low energy (BLE) is a feature of Bluetooth 4.0 wireless radio technology, aimed at new, principally low-power and ...
分类:其他好文   时间:2014-05-09 10:07:10    阅读次数:448
(转)MFC的一些宏的整理 (DECLARE_DYNCREATE/IMPLEMENT_DYNCREATE)
很早看了MFC的一些宏的实现,什么RUNTIME_CLASS, DECLARE_DYNAMIC, DECLARE_DYNCREATE,IMPLEMENT_DYNCREATE, etc,看了就烦,现在整理下,免的忘了.代码实现(注:以下宏及其实现取自MFC)DECLARE_DYNAMICDefine:...
分类:其他好文   时间:2014-05-09 08:55:20    阅读次数:405
Effective Java 74 Implement Serializable judiciously
Unless a class is to be thrown away after a short period of use, implementing Serializable is a serious commitment that should be made with care. Extr...
分类:编程语言   时间:2014-05-09 07:49:13    阅读次数:510
黑马程序员 oc对象的行为和内存分析,匿名对象
#import @interface Car : NSObject{ @public int speed; int wheels;}// oc方法必须是-开头// oc方法中所有的数据类型必须得用括号括起来// oc方法中的()就是用来扩住数据类型的-(void)run;@end@implement...
分类:其他好文   时间:2014-05-08 12:25:41    阅读次数:267
2381条   上一页 1 ... 235 236 237 238 239 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!