码迷,mamicode.com
首页 >  
搜索关键字:android secret code    ( 206680个结果)
[leetcode]Swap Nodes in Pairs @ Python
原题地址:http://oj.leetcode.com/problems/swap-nodes-in-pairs/题意:将链表中的节点两两交换。Given1->2->3->4, you should return the list as2->1->4->3.解题思路:这题主要涉及到链表的操作,没什么...
分类:编程语言   时间:2014-05-01 06:44:21    阅读次数:339
[leetcode]Remove Nth Node From End of List @ Python
原题地址:http://oj.leetcode.com/problems/remove-nth-node-from-end-of-list/题意:Given a linked list, remove thenthnode from the end of list and return its he...
分类:编程语言   时间:2014-05-01 06:42:15    阅读次数:332
stringstream
使用stringstream对象简化类型转换在命名空间std中,std::stringstream。1stringa="hello";2intb=10;3std::stringstreamstream;4stream提供了比ANSI C的更高级的一些功能,即单纯性、类型安全和可扩展性。在本文中,我将...
分类:其他好文   时间:2014-05-01 06:41:11    阅读次数:483
Windows 下音频数据采集和播放
音频操作所需头文件和链接库#include#include#pragmacomment(lib,"winmm.lib") 由于音频采集过程是一个持续过程,所以建议为它们各自分配一个线程,而使用MFC的 CWinThread 类是一个不错的选择,笔者就是利用CWinThread类将这两个功能封装成了两...
分类:Windows程序   时间:2014-05-01 06:38:05    阅读次数:701
linux多线程示例
1 #include 2 #include 3 #include 4 #include 5 6 typedef void* (*fun)(void*); 7 8 fun fun1, fun2; 9 10 pthread_mutex_t pmu = PTHREAD_MUTEX_INITI...
分类:编程语言   时间:2014-05-01 06:36:02    阅读次数:427
Javascript中的void
原来void是将其后的字面量当元表达式执行,并永远返回undefined。同时undefined不是关键词。。由于JS表达式偏啰嗦,于是最近便开始采用Coffeescript来减轻负担。举个栗子,当我想取屋子里的第一条dog时,首先要判断house对象是否存在,然后再判断house.dogs是否存在...
分类:编程语言   时间:2014-05-01 06:35:02    阅读次数:466
图像编程学习笔记5——图像镜像
以下文字内容copy于>,code为自己实现,是win32控制台程序。镜象(mirror)分水平镜象和垂直镜象两种。图2.2的水平镜象和垂直镜象分别如图2.13和图2.14所示图2.13 图2.2的水平镜象图2.14 图2.2的垂直镜象镜象的变换矩阵很简单。设原图宽为w,高为h,变换后,图的宽和高不...
分类:其他好文   时间:2014-05-01 06:31:55    阅读次数:296
opencv 摄像头
VideoCapture cap(0); if(!cap.isOpened()) return -1; Mat frame, edges; namedWindow("edges",1); for(;;) { cap >> frame...
分类:其他好文   时间:2014-05-01 06:28:49    阅读次数:333
JAVA当中内存管理与垃圾回收!
很多Java面试的时候,都会问到有关Java垃圾回收的问题,提到垃圾回收肯定要涉及到JVM内存管理机制,Java语言的执行效率一直被C、C++程序员所嘲笑,其实,事实就是这样,Java在执行效率方面确实很低,一方面,Java语言采用面向对象思想,这也决定了其必然是开发效率高,执行效率低。另一方面,J...
分类:编程语言   时间:2014-05-01 06:26:46    阅读次数:499
In-App Purchase----(二) ---- Designing Your App’s Products
Designing Your App’s ProductsAproductis something you want to sell in your app’s store. You create and configure products in iTunes Connect, and your ...
分类:移动开发   时间:2014-05-01 06:25:43    阅读次数:655
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!