Usage: void CRC(int*,int*,int,int) Input: XAR0:coded data(InputData) XAR1:decoded CRC bits(CrcPoly) T0: Length of coded data(CodeOutlen) T1: Length of CRC bits(CrcPolylen) Return: NO Altered Registers: AC0-AC2,T2 Others: 8 bits of AC0 LSB is CRCcheck bit
资源简介:Usage: void CRC(int*,int*,int,int) Input: XAR0:coded data(InputData) XAR1:decoded CRC bits(CrcPoly) T0: Length of coded data(CodeOutlen) T1: Length of CRC bits(CrcPolylen...
上传时间: 2017-06-24
上传用户:ywqaxiwang
资源简介:void III_hufman_decode(struct Granule *gr,int part2_start, int freqline[SBLIMIT][SSLIMIT]) { unsigned int reg1, reg2,i unsigned int part3_length = part2_start + gr->part2_3_length unsigned used int h,*f=&freqline[0][0] ...
上传时间: 2013-12-19
上传用户:jjj0202
资源简介:public class month1{ public static void main(String [] args){ int month = 10 int days = 0 switch(month){ case 1: days = 31 case 2: days = 28 case 3: days = 31
上传时间: 2014-08-26
上传用户:chenbhdt
资源简介:设计有理数类rational_number  数据成员: int numerator(分子) int denominator(分母)  成员函数 (1)构造函数rational_number ()和rational_number (int x, int y) (2)拷贝构造函数 (3) 重载运算符“+”、“-”、“*...
上传时间: 2014-11-04
上传用户:caiiicc
资源简介:实现int或long int类型数据向time类型数据转化,比如说,int i=258147369, 它将转化为x小时y分z秒。
上传时间: 2015-12-04
上传用户:waitingfy
资源简介:(1) 设计和编写代表矩阵的Matrix类。该类包括矩阵行列数变量int rows和int cols,矩阵数据数组double data[][],构造方法Matrix()、Matrix(int rows,int cols)、Matrix(int rows,int cols,double data[][]),获取某元素值的方法getData(int row,int col),...
上传时间: 2016-08-19
上传用户:qiao8960
资源简介:int getDivisor(int iNum) { int i = 1 int sum = 0 if (0 == iNum) { return 1 } while (i <= iNum / 2) { if (0 == iNum % i) { sum++ } i++ } return (sum+1) }
上传时间: 2013-12-17
上传用户:frank1234
资源简介:int show_char(int n, const char *name, chtype code) { const int height = 16 int row = 4 + (n height) int col = (n / height) * COLS / 2 mvprintw(row, col, " *s : ", COLS/4, name) addch(code) return n + 1 }
上传时间: 2017-06-12
上传用户:3到15
资源简介:* * Input * bin_data : binary data * bin_size : binary data length * Mode : operation mode * BASE64_NeedCRLF ---- Need a CRLF every 64 base64-character * BASE64_NotCRLF ---- Need not CRLF between 64 base64-character * * Outp...
上传时间: 2015-06-04
上传用户:ZJX5201314
资源简介::#include <stdlib.h>#include <stdio.h>#include <time.h> void InsertSort(int a[],int *(k1),int *(k2))//0:直接插入排序{ int i,j int temp *(k1)=0 *(k2)=0 for(i=0 i<149 i++) { temp=a[i+1] *(k2)++ ...
上传时间: 2014-11-30
上传用户:362279997
资源简介:1. 学生成绩删除功能:该功能通过调用int shanchu(struct Student *p,int x,int num,float a[])来实现。该功能采用的是询问管理人员的意见之后再功能实现,由学号来引出学生信息,当学号不存在时,系统将给出信息“该学生不存在!”。然后询问管理员是否继续...
上传时间: 2013-12-02
上传用户:hebmuljb
资源简介:#include<stdio.h> #include<windows.h> int xuanxiang; int studentcount; int banjihao[100]; int xueqihao[100][10]; char xm[100][100]; int xuehao[100][10]; int score[100][3]; int yuwen; int shuxue[000]; int yingyu[100]; int c[100]; int p; char...
上传时间: 2018-06-08
上传用户:2369043090
资源简介:附件为:LCD12864显示汉字和数字的程序与电路 /* 自定义延时子函数 */ void delayms(uchar z) { int x,y; for(x=z;x>0;x--) for(y=110;y>0;y--); } /* 判断LCD忙信号状态 */ void buys() { int dat; RW=1;...
上传时间: 2013-11-08
上传用户:aeiouetla
资源简介:软件测试:一个编译器测试软件,支持下列C语言运算符:+ - * / % ^(乘方) 负 (int) (double) "字符串" [](数组) > < == >= <= != && ! ++ -- = += -= *= /= %= ^=,支持下列关键字:void int double string if else for while do goto break continue ret...
上传时间: 2013-12-15
上传用户:sy_jiadeyi
资源简介:自定义一个简单的日期类DateType,它具有数据成员y、m、d,用来表示当前日期的年、月、日。而后设计该类欲实现(完成)的功能,进而设计出相应的类成员函数。 例如,下面给出的“雏形”可用来实现对天的增加,比较两个日期是否相等,以及对日期的输出等操作...
上传时间: 2013-12-22
上传用户:songyue1991
资源简介:[问题描述] 将N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前,要求使用最少的附加空间,且算法的时间复杂度为O(N) [输入] 待排序记录个数,各关键字的值。 [输出] 关键字从正负分开,正数在前 [存储结构]...
上传时间: 2014-01-13
上传用户:aig85
资源简介:液晶 OCM/TG240128 驱动 编程语言: C 原产品硬件ATMega128/1280 ,晶振14.7456M 软件AVR ICC7.14C 破解版 由产品源码中提取,详细的字符和图行操作.实现LCD内任何位置的定位操作. void LCD_Init(void) void GMoveTo(U8 yline, U8 xcolumn) voi...
上传时间: 2013-12-27
上传用户:youke111
资源简介:java 线程 静态锁,对象锁, synchronized 是锁方法还是锁对象?还是锁类?如何实现?? 部分代码如下, public static Object lock=new Object() //静态锁,锁类,不是锁对象了!!所以两个线程同时 运行两个 TestThread 的execute( ),也可以同...
上传时间: 2017-07-15
上传用户:lijianyu172
资源简介: 实验源代码 //Warshall.cpp #include<stdio.h> void warshall(int k,int n) { int i , j, t; int temp[20][20]; for(int a=0;a<k;a++) { printf("请输入矩阵第%d 行元素:",a); for(int b=0;b<n;b++) { scanf ("%d",&temp[a][b]); }...
上传时间: 2016-06-27
上传用户:梁雪文以
资源简介:链表习题 1. 编程实现链表的基本操作函数。 (1). void CreatList(LinkList &La,int m) //依次输入m个数据,并依次建立各个元素结点,逐个插入到链表尾;建立带表头结点的单链表La; (2). void ListPrint(LinkList La) //将单链表La的数据元...
上传时间: 2017-11-15
上传用户:BIANJIAXIN
资源简介:1. 编程实现链表的基本操作函数。 (1). void CreatList(LinkList &La,int m) //依次输入m个数据,并依次建立各个元素结点,逐个插入到链表尾;建立带表头结点的单链表La; (2). void ListPrint(LinkList La) //将单链表La的数据元素从表头到表...
上传时间: 2017-11-15
上传用户:BIANJIAXIN
资源简介:#include <iostream> #include <stdio.head> #include <stdlib.head> #include <string.head> #define ElemType int #define max 100 using namespace std; typedef struct node1 { ElemType data; struct node1 *next; }Node1,*LinkList;//链栈 ty...
上传时间: 2018-05-09
上传用户:123456..
资源简介:#include<stdio.h> #include<string.h> #include<stdlib.h> #define N 100 int iNumOfStu=0; struct score { float math; float english; float computer; }; struct student { int numb...
上传时间: 2019-06-08
上传用户:啊的撒旦
资源简介:#include<stdio.h> #include<string.h> #include<stdlib.h> #define N 100 int iNumOfStu=0; struct score { float math; float english; float computer; }; struct student { int numb...
上传时间: 2019-06-09
上传用户:啊的撒旦
资源简介:#include<stdio.h> #define TREEMAX 100 typedef struct BT { char data; BT *lchild; BT *rchild; }BT; BT *CreateTree(); void Preorder(BT *T); void Postorder(BT *T); void Inorder(BT *T); void Leafnum(BT *T); void Nodenum(BT *T); int TreeDep...
上传时间: 2020-06-11
上传用户:ccccy
资源简介:keil 使用笔记:在Memory窗口上输入address_type:address才能看到正确地址的变量debug~perfermance analyzer加入要察看的模块名称,然后view~perfermance analyzer window 可以察看各个模块运行时间①Display address_type:address B:Bit address C:Code Mem...
上传时间: 2013-11-05
上传用户:dongqiangqiang
资源简介:这是一个关于98I/O结构的文档,主要分析了int 16h及int 14中的主要部分
上传时间: 2013-12-18
上传用户:nanfeicui
资源简介:Dijkstra算法求最短路径(C#版) using System using System.Collections using System.Text namespace Greedy { class Marx { private int[] distance private int row private ArrayList ways = new ArrayList() public Marx(int n,pa...
上传时间: 2013-12-29
上传用户:liglechongchong
资源简介:#include<malloc.h> #include<limits.h> #include<stdio.h> #include<graphics.h> #include<io.h> #include<math.h> #include<process.h> #include<conio.h> #define m 100 #define OK 1 typedef int Status typedef char TElemType /*树元素的类...
上传时间: 2013-12-15
上传用户:liansi
资源简介://*********主机代码****** #include <reg51.h> #include "Clicent_Setting.h" #include "LCD_Funtion.h" #include "Futions.h" #include "Host_interrupt_Funtion.h" int num1=1 //从机数码管起始数 int num2=0 int num3=1
上传时间: 2016-05-27
上传用户:王者A