码迷,mamicode.com
首页 >  
搜索关键字:floating point    ( 7266个结果
Map的使用
1、创建 [cpp]?view plaincopy auto?sp1?=?Sprite::create("CloseNormal.png");?? sp1->setPosition(Point(100,100));?? this->addChild(sp1,1);?? ?? auto?sp2?=?Sprite::create("CloseSelected...
分类:其他好文   时间:2014-09-04 01:45:07    阅读次数:255
取得窗口句柄和标题,跨类调用并实时显示在编辑框中(VS2010)
接上篇日志。 在WM_LBUTTONUP消息响应函数中写入代码: POINT pnt; WCHAR wc_TargtWndTittle[200]; ::GetCursorPos(&pnt); HWND h_TargetWnd = ::WindowFromPoint(pnt) ; //取得鼠标指针处....
分类:其他好文   时间:2014-09-03 12:59:46    阅读次数:162
jms
深入掌握JMS(一):JSM基础1. JMS基本概念 JMS(Java Message Service) 即Java消息服务。它提供标准的产生、发送、接收消息的接口简化企业应用的开发。它支持两种消息通信模型:点到点(point-to-point)(P2P)模型和发布/订阅(Pub/Sub)模型。P2...
分类:其他好文   时间:2014-09-03 11:12:36    阅读次数:271
CS无线电语
〔Radio Commands (" Z "键) - 无线电指令〕1."Cover me" (掩护我)2."You Take The Point"(你守住这个位置)3."Hold This Position"(各单位保持现在的位置)4."REGROUP TEAM"(重新组队),队友过于分散的时候可以...
分类:其他好文   时间:2014-09-03 11:12:26    阅读次数:201
Leetcode-Unique Paths
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 point ...
分类:其他好文   时间:2014-09-02 17:28:35    阅读次数:202
并发基本名词解释
Intra-thread semantics(线程内语义):             The memory model determines what values can be read at every point in the program. The actions of each thread in isolation must behave as governed by the se...
分类:其他好文   时间:2014-09-02 14:14:25    阅读次数:493
MFC,左击鼠标,让窗口移动实现
添加OnLButtonDown()函数可以VS里面的导向添加,这样比较方便然后在里面加入: // TODO: 在此添加消息处理程序代码和/或调用默认值 PostMessage(WM_NCLBUTTONDOWN, HTCAPTION, MAKELPARAM(point.x, point.y)); C....
分类:移动开发   时间:2014-09-02 12:18:44    阅读次数:286
leetcode - 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-09-02 10:19:24    阅读次数:194
Singleton Design Pattern
Definition Ensure a class has only one instance and provide a global point of access to it.Participants The classes and/or objects participating in th...
分类:其他好文   时间:2014-09-01 12:19:33    阅读次数:162
坐标系与基本图元(1) ~转载天行健 君子当自强而不息
坐标系与基本图元(1)Direct3D基本图元图元(primitives)是Direct3D中定义的基本图形表示,它是组成一个单一实体的一组顶点。最简单的图元是三维坐标系中多个点的集合,称为点列表(point list)。通常,图元是多边形(polygon),一个多边形是由至少三条边组成的封闭图形。...
分类:其他好文   时间:2014-09-01 12:18:03    阅读次数:224
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!