码迷,mamicode.com
首页 >  
搜索关键字:break point    ( 16971个结果
boost::bind boost::function
#include #include #include #include #include using namespace boost; using namespace std; class point {public: point(int a=0,int b=0):x(a),y(b) {}...
分类:其他好文   时间:2014-05-18 19:42:18    阅读次数:290
Android小应用----图片的拖动、缩放
public class MainActivity extends Activity { private ImageView operImage; private PointF point = new PointF();//记录手指的位置 private PointF midPoint = new PointF();//记录手指间的中点的位置 private Matrix matrix...
分类:移动开发   时间:2014-05-18 18:44:57    阅读次数:363
HDU1687 Lucky Light 【贪心】
Lucky Light Time Limit: 3000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 272    Accepted Submission(s): 74 Problem Description We have a (point)...
分类:其他好文   时间:2014-05-18 18:44:16    阅读次数:273
实现精灵沿着圆形轨迹运动
Point pos(100, 100); //start point m_animSprite->setPosition(pos); int count = 8; float radius = 50.f; float angle = 360.f/count; auto array = PointArray::create(count + 1); Point pt0(r...
分类:其他好文   时间:2014-05-18 07:02:31    阅读次数:250
[游戏模版14] Win32 键盘控制
>__300)speed=300;26 SetTimer(hWnd,1,speed,NULL);27 break;28 }29 break;30 case WM_TIMER:31 ...
分类:Windows程序   时间:2014-05-18 01:28:11    阅读次数:552
simplelogger
贵灯提供的简单打印函数,非原创; 注意: do{}while(false); 的使用(内部多个判断,用 do false 中的 break 可以避免使用 if true 引起的嵌套层数过多); 关键段 CRITICAL_SECTION 的使用,封装了 lock 和 unlock 函数; 不定长参数 ...
分类:其他好文   时间:2014-05-16 04:26:20    阅读次数:321
自动换行 属性,区分阿拉伯数字、字体、英文字符
style="word-break:break-all;word-wrap:break-word;"
分类:其他好文   时间:2014-05-16 03:04:36    阅读次数:277
LeetCode 011 Container With Most Water
【题目】 Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Find two lines, which together with x-axis forms a contain...
分类:其他好文   时间:2014-05-16 01:32:47    阅读次数:406
mFC 橡皮线
一般都用GDI实现:void CXiangpijinView::OnMouseMove(UINT nFlags, CPoint point) { // TODO: Add your message handler code here and/or call default CVi...
分类:其他好文   时间:2014-05-15 21:04:55    阅读次数:330
Copy List with Random Pointer
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.Return a deep copy ...
分类:其他好文   时间:2014-05-15 21:00:06    阅读次数:325
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!