码迷,mamicode.com
首页 >  
搜索关键字:unit 6练习    ( 4539个结果
Option使用和实现内幕源码揭秘之Scala学习笔记-22
package com.leegh.pattern_match/** * @author Guohui Li */object Option_Internal { def main(args: Array[String]): Unit = { val scores = Map("Alice"...
分类:其他好文   时间:2015-08-15 10:13:32    阅读次数:106
判断周围是否有敌人的三种模式(转)
1、只攻击正前方的单位,向前发射一条射线,攻击碰到的单位 RaycastHit?hit; //range?射线的长度,即攻击范围,maskTarget敌方单位的mask,只攻击敌方单位 if(Physics.Raycast(unit.thisT.position,?unit.this...
分类:其他好文   时间:2015-08-14 19:46:18    阅读次数:143
HDU 3687 Labeling Balls(逆向拓扑)
Labeling BallsDescriptionWindy has N balls of distinct weights from 1 unit to N units. Now he tries to label them with 1 to N in such a way that:No tw...
分类:其他好文   时间:2015-08-14 18:47:03    阅读次数:159
使用 ImageEnView 给图片加水印,及建缩略图
{Power?by?hzqghost@21cn.com} unit?CutWater; interface uses ??Math,imageenview, ??SysUtils,?Classes,?Graphics; procedure?CutImg(src,dest:string;width,height:Integer);//截图 procedure?Wat...
分类:其他好文   时间:2015-08-14 08:51:59    阅读次数:178
H264数据结构
NAL? nal_unit_type中的 1(非IDR图像的编码条带)、 2(编码条带数据分割块A)、 3(编码条带数据分割块B)、 4(编码条带数据分割块C)、 5(IDR图像的编码条带)种类型 6(SEI)、 7(SPS)、 8(PPS) ? Sl...
分类:其他好文   时间:2015-08-13 18:24:12    阅读次数:591
XE3随笔8:关于乱码
以下例子都会出现乱码, 虽然都可以有变通的方案, 但如果不乱码就太好了!unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCt...
分类:其他好文   时间:2015-08-13 11:48:46    阅读次数:133
XE随想4:SuperObject增、删、改
unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls;type TForm1 = class(TForm) Butt....
分类:其他好文   时间:2015-08-13 11:43:55    阅读次数:92
XE3随笔21:系统默认语言与系统支持的语言列表
unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls;type TForm1 = class(TForm) Memo....
分类:编程语言   时间:2015-08-13 11:36:40    阅读次数:159
XE3随笔5:Format与转义字符
unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls;type TForm1 = class(TForm) Butt....
分类:其他好文   时间:2015-08-13 11:31:36    阅读次数:95
XE3随笔9:使用不同的数据类型标记数组
unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls;type TForm1 = class(TForm) Butt....
分类:编程语言   时间:2015-08-13 11:26:35    阅读次数:105
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!