码迷,mamicode.com
首页 >  
搜索关键字:mcafee move av    ( 6650个结果)
对浮点数进行四舍五入处理的函数
英语不好, 见谅。 1 float myRound (float src, int idx) 2 { 3 //move idx numbers right of the point 4 //to the left 5 for (int i = idx; i--;) { 6 ...
分类:其他好文   时间:2015-01-27 21:35:16    阅读次数:155
uva 639 Don't Get Rooked (暴力回溯 )
uva 639 Don't Get Rooked In chess, the rook is a piece that can move any number of squares vertically or horizontally. In this problem we will consider small chess boards (at most 44) tha...
分类:其他好文   时间:2015-01-27 18:36:48    阅读次数:195
欧拉计划(python) problem 15
Lattice paths Problem 15 Starting in the top left corner of a 2×2 grid, and only being able to move to the right and down, there are exactly 6 routes to the bottom right corner. How many su...
分类:编程语言   时间:2015-01-27 13:25:01    阅读次数:191
屏幕滑动 Scroll
现在我们来实现一个这样的效果: 屏幕向右滑动超过二分之一屏幕宽度时,松手时,activity从右边滑出;当不够二分之一时,松手之后按,activity回到原来的位置: 首先就是OnTouchEvent了,里面很简单就一个move 和up @Override public boolean onTouchEvent(MotionEvent event) { switch (event.ge...
分类:其他好文   时间:2015-01-27 11:10:49    阅读次数:226
[转]AVPlayer的基本使用
在iOS开发中,播放视频通常有两种方式,一种是使用MPMoviePlayerController(需要导入MediaPlayer.Framework),还有一种是使用AVPlayer。关于这两个类的区别可以参考http://stackoverflow.com/questions/8146942/av...
分类:其他好文   时间:2015-01-27 10:57:14    阅读次数:259
leetcode 【 Triangle 】python 实现
题目:Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the ...
分类:编程语言   时间:2015-01-26 20:42:03    阅读次数:180
CDZSC_2015寒假新人(4)——搜索 - N
DescriptionStandard web browsers contain features to move backward and forward among the pages recently visited. One way to implement these features i...
分类:其他好文   时间:2015-01-26 20:37:42    阅读次数:138
leetcode 【 Unique Paths 】python 实现
题目:A robot is located at the top-left corner of amxngrid (marked 'Start' in the diagram below).The robot can only move either down or right at any poi...
分类:编程语言   时间:2015-01-26 16:32:36    阅读次数:173
unity学习--005:模仿几种游戏操作方式的实现
结合前面的 角色控制和镜头控制 在这里实现几种综合的操作方式1. CF类的 第一视角控制方式 此类操控方式将摄像机绑定猪脚头部模拟第一视角 移动方式以unity自带的CharacterController.Move()方法为基础进行改进。 首先给角色判定一个Camera和下面的C#脚本 p...
分类:编程语言   时间:2015-01-26 08:49:04    阅读次数:390
给jquery 添加触屏事件,上下左右 touchwipe插件
touchwipe.js(function($){$.fn.touchwipe=function(settings){var config={min_move_x:20,min_move_y:20,wipeLeft:function(){},wipeRight:function(){},wipeUp...
分类:Web程序   时间:2015-01-25 23:52:57    阅读次数:407
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!