码迷,mamicode.com
首页 >  
搜索关键字:style    ( 244891个结果
IO流 总结一
字符流: FileReader FileWriter BufferedReader BufferedWriter readLine(); 字节流: FileInputReader FileOutputWriter BufferedInputstream BufferedOutputstream re...
分类:其他好文   时间:2014-07-22 23:09:12    阅读次数:232
libgdx, mouse 关节
鼠标与body的交互就靠这个mouse 关节了。在使用中:主要分成3步:步1:mouseDown : 这个时期,调用world->QueryAABB。它有一个回调接口,并依据鼠标指针指定一个AABB的极小区域。有3个细节需注意:细节1:鼠标的xy值是屏幕坐标系统的,要转换成stage坐标系统(sta...
分类:其他好文   时间:2014-07-22 23:08:52    阅读次数:231
【python】urllib2
urllib2.urlopen(url[, data][, timeout])Open the URL url, which can be either a string or a Request object.data may be a string specifying additional d...
分类:编程语言   时间:2014-07-22 23:08:32    阅读次数:219
背景减法——自组织算法
自组织背景减法是Maddalena于2008年发表的《A self-organizing approach to background subtraction for visualsurveillance applications》中提出的,通过自组织的方法自动的生成一张神经网格背景模型。这个背景减...
分类:其他好文   时间:2014-07-22 23:08:32    阅读次数:360
ACM基础训练题解4301 城市地平线
遍历线段树 线段树的插入和查询 1 //城市地平线(线段树) 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 typedef __int64 LL; 9 struct building{....
分类:其他好文   时间:2014-07-22 23:08:12    阅读次数:175
Learning OpenCV Lecture 1 (Using OpenCV in VS2010)
Using OpenCV in VS2010
分类:其他好文   时间:2014-07-22 23:07:32    阅读次数:253
topcoder srm 628 div2 250 500
做了一道题,对了,但是还是掉分了。第二道题也做了,但是没有交上,不知道对错。后来交上以后发现少判断了一个条件,改过之后就对了。第一道题爆搜的,有点麻烦了,其实几行代码就行。250贴代码: 1 #include 2 #include 3 #include 4 #include 5 #inclu...
分类:其他好文   时间:2014-07-22 23:07:12    阅读次数:219
hdu--1010--dfs
话说 这题是所谓的最最经典的dfs...反正 它让我学会了 奇偶剪枝 传送感觉 这边会让你看懂 奇偶剪枝 它很详细的解释了 为什么是偶数的由来其他 关于这题 就没什么好讲的了 就注意下 是恰好t秒 touch me 1 #include 2 #include 3 using namespace...
分类:其他好文   时间:2014-07-22 23:06:52    阅读次数:208
Android -- Drawable与Bitmap
Drawable 以下这个是测试加载1000个Drawable对象的代码:public class Main extends Activity{ int number = 1000; Drawable[] array; @Override public void onCre...
分类:移动开发   时间:2014-07-22 23:06:52    阅读次数:215
Cocos2d-x和时间有关的代码
用cocos2d-x获取系统时间,格式为年月日时分秒:void GetTime(float dt) { struct tm *tm;#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32) //win32平台 time_t timep; ...
分类:其他好文   时间:2014-07-22 23:06:32    阅读次数:355
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!