虫虫首页|资源下载|资源专辑|精品软件
登录|注册

integer

integer,整数/整型数,与小数/浮点数相对,是编程语言的基本数据类型之一,用以指示变量的数据类型,有时也用于常量(变量、表达式)的强制数据类型转换。整型数据的长度及其取值范围并不固定,受编译环境影响。在不同的编程语言中做此类型声明时,具体实现方式也可能会有所区别。
  • CRC16算法的Java实现

    CRC16算法的Java实现,使用方法如下: CRC16 crc16 = new CRC16() byte[] b = new byte[] { // (byte) 0xF0,(byte)0xF0,(byte)0xF0,(byte)0x72 (byte) 0x2C, (byte) 0x00, (byte) 0xFF, (byte) 0xFE, (byte) 0xFE, (byte) 0x04, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 } for (int k = 0 k < b.length k++) { crc16.update(b[k]) } System.out.println(integer.toHexString(crc16.getValue())) System.out.println(integer.toHexString(b.length))

    标签: Java CRC 16 算法

    上传时间: 2014-12-19

    上传用户:ve3344

  • 本程序执行后

    本程序执行后,创建一个能够加载文字的面板,文字的内容是本地主机的IP地址的动态显示。跑马灯文字的大小和跑马灯文字显示的速度都可以在GatutTextCrawler.html文件里通过参数进行设置。 编程思路:首先,本练习因为要制作侦测IP的跑马灯的实例,所以首先要生成程序界面:在函数public void init()中,首先通过语句s = getParameter("fontSize")和fontSize = s != null ? integer.valueOf(s).intValue() : 12设置文字字体大小,然后进行字体设置和显示速度设置,最后通过语句msgText = getParameter("preText")得到GatutTextCrawler.html文件中的字符串值。然后,得到主机IP地址,首先通过函数adds = InetAddress.getLocalHost().toString()得到主机的IP地址,最后在更新屏幕函数public void update(Graphics g)中通过实现跑马灯效果。

    标签: 程序

    上传时间: 2016-06-06

    上传用户:miaochun888

  • 一个24点自动求解程序

    一个24点自动求解程序,用了很多花哨的界面控件。只要看看核心的代码就行了(Unit1.pas中的 calc(i:integer)、print(i:integer) 过程)。可以把24改为其它的整数。

    标签: 自动 程序

    上传时间: 2013-12-22

    上传用户:zhouli

  • 构造一个简单程序设计语言的词法分析器

    构造一个简单程序设计语言的词法分析器,要求: 1) 含有保留字program, begin, end, var, integer, if, then, else, do, while. 2) 标识符和无符号的整常数,其中保留字和标识符不区分大小写. 3) 含有界符和运算符如下:+,-, (, ), =, >, <, , :, :=.,,。 4) 输出二元组。

    标签: 程序设计语言 分析器

    上传时间: 2014-01-04

    上传用户:离殇

  • 密码算法程序包miracl contains all the source code for the latest version of MIRACL: a Multiprecision Int

    密码算法程序包miracl contains all the source code for the latest version of MIRACL: a Multiprecision integer and Rational Arithmetic C/C++ library.

    标签: Multiprecision the contains version

    上传时间: 2016-07-08

    上传用户:xinyuzhiqiwuwu

  • 多目标遗传算法程序 to run Demo files, is to run SGALAB_demo_*.m what s new: 1) Multiple-Objective GAs

    多目标遗传算法程序 to run Demo files, is to run SGALAB_demo_*.m what s new: 1) Multiple-Objective GAs VEGA NSGA NPGA MOGA 2) More TSP mutation and Crossover methods PMX OX CX EAX Boolmatrix 3) More selection methods Truncation tornament stochastic 4) mutation methods binary single point int/real single point 5) encoding/decoding methods binary integer/real messy gray DNA permuation to fix the plot bugs for 4001 , download this file and replace old files.

    标签: Multiple-Objective SGALAB_demo run files

    上传时间: 2013-12-20

    上传用户:mhp0114

  • This programme is to control DC motor in a certain speed using PWM. The target speed is "r", it is

    This programme is to control DC motor in a certain speed using PWM. The target speed is "r", it is the speed in 1s. The sample rate is 0.1s, so the actual speed target is "rc"=r/10. The "r" and "rc" are integer, and the range of "r" is from 50 to 100. Keep rc=r/10!!! The array "speed1" and "speed2" are the control result, in 0.1s and 1s. The length of "speed1" is 2400, and "speed2" is 240. The "pw" and "nw" are the parameters of PWM. The test will last 4 min.

    标签: speed programme is control

    上传时间: 2014-11-21

    上传用户:jyycc

  • DESCRIPTION This function initializes the pointers in the _pid structure   to the process variable

    DESCRIPTION This function initializes the pointers in the _pid structure   to the process variable and the setpoint. *pv and *sp are   integer pointers.

    标签: the DESCRIPTION initializes structure

    上传时间: 2014-01-15

    上传用户:邶刖

  • a Java program that reads in the following values from the standard input device (i.e. Keyboard) an

    a Java program that reads in the following values from the standard input device (i.e. Keyboard) and writes its result on the standard output device (i.e. Console/Monitor): Inputs: A: the loan amount in dollars and cents (e.g. 150000.00). r: the net annual interest rate, expressed as an integer (e.g. 10 which means 10%) Y: the number of whole remaining years (for repayment) M: the number of remaining months Output: The program should calculate and output the amount of monthly repayments in dollars and cents as single value (e.g. $840.55)

    标签: i.e. following the Keyboard

    上传时间: 2013-12-14

    上传用户:米卡

  • “软件限时注册”控件(TShareRegist)功能说明: 1、只要将该控件加入主窗体

    “软件限时注册”控件(TShareRegist)功能说明: 1、只要将该控件加入主窗体,使Action属性设为true,再设置其它属性,你的软件就有限时注册的功能了,只要你牢记三个密钥,并加上给你的算号软件(RegObject_Admin.exe)你就可以无敌天下了。 2、控件使用目前最严严谨的加密算法,5级加密。是破解成为不可能,可以放心使用。 3、请记住,设计不同的软件,给三个不同的密钥,该控件可以让你享用终生。 控件属性说明: Action:boolean 是否开启限时注册功能 ShareDays:integer 免费使用的天数 ShareCount:integer 免费使用的次数 RootKey:string 注册表的主根 EncrypKey1:string 密钥1 EncrypKey2:string 密钥2 EncrypKey3:string 密钥3 Money:string 注册费用 ActiveMenuItem:TMenuItem 激活注册窗口的菜单项(点击此菜单项便能弹出“注册窗体”) ActiveButton:TButton 激活注册窗口的按钮(同上) Verion:string 控件版本号,只读的

    标签: TShareRegist 控件 软件

    上传时间: 2013-12-25

    上传用户:fredguo