搜索资源列表
Explosion
- as3.0 模拟爆炸 package { import flash.display.BitmapData import flash.geom.ColorTransform public class Explosion { /* EXPLOSION PARAMETERS */ //-- START VALUES private const EXPLOSION_RADIUS: int = 24 priva
1-2
- 二、通过将其元素插入到双向链表中的方法对数组A进行排序。算法对链表的当前操作位置进行维护,当需要插入表项时,若新元素比当前位置值要大,则往前移动;若小则往后移动。编写函数DoubleSort实现上述排序算法。 template <class T> void DoubliSort( T a[], int n)
lxing
- 编译原理小程序 有点小问题 源程序文件内容如下: main() { int a, b a = 10 b = a + 20 } 要求输出如下: (2,”main”) (5,”(”) (5,”)”) (5,”{“} (1,”int”) (2,”a”) (5,”,”) (2,”b”) (5,” ”) (2,”a”) (4,”=”) (3,10) (5,” ”) (2,”b”) (4,”=”) (2,”a”) (4,”+”) (3,20) (5,” ”) (5,”)”)-Compiler Princ
2-16进制正整数字符串转为数值11
- 函数 long StrToData(CString strData,int jz) 功能:字符串转为正整数值 [字符串可为2-16]任意进制数值字符串 返回:长整型数值 参数:strData 为将要转换的字符串 参数:jz 为字符串的进制 如: CString s s=\"FFA6\" long data=StrToData(s,16) 则:data的值为:65446 用法:将StrToData.h和StrToData.cpp复制加入到您的工程里,在需要调用的函数中 加入#includ
php_ser_5.2.0-5.2.17
- php实现RS232串口通信 下载php_ser_5.2.0.zip 解冻把php_ser放到ext目录下, php.ini里加上: extension=php_ser.dll PHP code string ser_version( void ) void ser_open( string port, int baudrate, int databits, string parity, float stopbits, string flowcontrol )
GeneratePossionDistribution_codes
- Generate Possion Dis. step1:Generate a random number between [0,1] step2:Let u=F(x)=1-[(1/e)x] step3:Slove x=1/F(u) step4:Repeat Step1~Step3 by using different u,you can get x1,x2,x3,...,xn step5:If the first packet was generated at time [
2
- 单链表的插入和删除实验目的: 1、定义单链表的结点类型 2、通过单链表的定义掌握线性表的链式存储结构的特点; 3、熟悉单链表的建立以及插入、删除等基本操作。 -# include <stdio.h> # include<malloc.h> # define ND sizeof(struct List) struct List {int data struct List*next } void main() {
int21h
- 提供汇编INT功能所有描述,INT 21H里AH值全部都有,希望对大家有用,第一次上传-INT function to provide a compilation of all descr iption, INT 21H value in AH, all of the above, I hope useful for all of us, the first upload
int
- 求解积分方程,(1)使用复化Simpson方法求积分(2)使用三次样条求积分值,并比较离散解与真解之间的误差,附件有详细说明-Solving integral equation (1) the use of complex methods for integration of Simpson (2) the use of cubic spline points for value, and compare the discrete solution and the error between t
2
- drive smt160 whith icp and int
2
- public final class RC4 extends Cipher { int x int y byte[] state = new byte[256] -public final class RC4 extends Cipher { int x int y byte[] state = new byte[256]
cifasaomiaoqi
- 设计一个词法扫描器。词法扫描器的功能是输入源程序,输出单词符号。写出关键字集合和程序流程图。例如源程序为C语言。输入如下一段: main() { int a,b a = 10 b = a + 20 } 输出如图: (2,”main”) (5,”(“) (5,”)“) (5,”{“) (1,”int”) (2,”a”) (5,”,”) (2,”b”) (5,” ”) (2,”a”) (4,”=”)
2
- 编写筛选查找素数函数: void sieve(bool isPrime[], int n) 其中isPrime[ ]为一个布尔型数组,n为数组大小。由于2是第一个素数, 所以设置isPrime[0]和isPrime[1]的值为false,并设置其余的元素初值为true。 然后对从4到n-1的每一个i,判断i是否能够被2整除,如果i能够被2整除,则设置isPrime[i]为false。 对从2到n/2的每一个可能的数值重复以上处理,当操作结束时,所有值为true的isPrime
Laborations_in_VTK_Visualization_Course_Lab_2-Int
- Laborations in VTK Visualization Course Lab 2 - Introduction to VTK
libscl-1.0.2
- This a Small Container Library, SCL. If you are not sure what a container is, then ignore the word container in this file and you ll probably understand everything. This library provides hash tables, list, queue, stack, symbol, balanced b
SSH2_BY_annotations
- SSH2工程模板 struts2.1.8 + Spring2.5+ Hibernate3.2 Spring 用注解方式-antlr-2.7.6.jar asm-2.2.3.jar asm-commons-2.2.3.jar asm-util-2.2.3.jar c3p0-0.9.1.2.jar cglib-nodep-2.1_3.jar common-annotations.jar commons-collections.jar commons-dbc
2
- 1.请编写一个函数void fun(char *tt,int pp[]),统计在tt字符中"a"到"z"26各字母各自出现的次数,并依次放在pp所指的数组中。 2.下列程序定义了n×n的二维数组,并在主函数中赋值。请编写函数fun,函数的功能使求出数组周边元素的平均值并作为函数值返回给主函数中的s。-1. Please write a function void fun (char* tt, int pp []), statistics tt characters " a&qu
USB_2.0
- 《USB 2.0 应用系统开发实例精讲》全套源代码 AT89C5131- #if !defined(AFX_AD9854DLG_H__F2184ECF_5F05_495F_9EFC_05DAAB886E35__INCLUDED_) #define AFX_AD9854DLG_H__F2184ECF_5F05_495F_9EFC_05DAAB886E35__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _M
EMPLOYEE
- 动1. 请构建一个名为Employee 的Class作为员工类,此类中包含:员工ID(int),姓名(String),性别(”F” or “M”), 年龄(int) 2. 创建至少20个Emplyee对象(ID不重复),存储在数组中; 3. 用户可以通过以下命令表达式在该数组中进行查询: -1. Please build a staff named Employee of the Class as a class, these include: Staff ID (int), nam
p2p_vod
- 1. 架构说明 目前的协议有如下一些特点: 1) 客户向服务器发送请求, 每个请求的长度不定. 请求的长度在第一个INT中指定. 2) 每个服务器通常会向多种客户提供服务, 例如, TS要同时向CP, NP提供服务, CP要向NP和其他CP提供服务, 同时还是其他CP, TS, SP的客户. 3) 每个服务器为客户服务时, 通常是长期的, 会涉及多次请求-应答的来回. 这样的结构, 主要是为了能够支持大量并发客户连接而设计的. 在具有大量并发客户 连接时, 无论