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
資源簡介:設(shè)計有理數(shù)類rational_number  數(shù)據(jù)成員: int numerator(分子) int denominator(分母)  成員函數(shù) (1)構(gòu)造函數(shù)rational_number ()和rational_number (int x, int y) (2)拷貝構(gòu)造函數(shù) (3) 重載運算符“+”、“-”、“*...
上傳時間: 2014-11-04
上傳用戶:caiiicc
資源簡介:實現(xiàn)int或long int類型數(shù)據(jù)向time類型數(shù)據(jù)轉(zhuǎn)化,比如說,int i=258147369, 它將轉(zhuǎn)化為x小時y分z秒。
上傳時間: 2015-12-04
上傳用戶:waitingfy
資源簡介:(1) 設(shè)計和編寫代表矩陣的Matrix類。該類包括矩陣行列數(shù)變量int rows和int cols,矩陣數(shù)據(jù)數(shù)組double data[][],構(gòu)造方法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. 學(xué)生成績刪除功能:該功能通過調(diào)用int shanchu(struct Student *p,int x,int num,float a[])來實現(xiàn)。該功能采用的是詢問管理人員的意見之后再功能實現(xiàn),由學(xué)號來引出學(xué)生信息,當(dāng)學(xué)號不存在時,系統(tǒng)將給出信息“該學(xué)生不存在!”。然后詢問管理員是否繼續(xù)...
上傳時間: 2013-12-02
上傳用戶:hebmuljb
資源簡介:溫濕度傳感器 sht11 仿真程序 sbit?out =P3^0;?//加熱口 ?//sbit?Input =P1^1;//檢測口 ?//sbit?speek =P2^0;//報警 ?sbit?clo =P3^7;//時鐘 ?sbit?ST =P3^5;//開始 ?sbit?EOC =P3^6;//成功信號 ?sbit?gwei =P3^4;//個位 ?sbit?swe...
上傳時間: 2013-11-07
上傳用戶:我們的船長
資源簡介:溫濕度傳感器 sht11 仿真程序 sbit?out =P3^0;?//加熱口 ?//sbit?Input =P1^1;//檢測口 ?//sbit?speek =P2^0;//報警 ?sbit?clo =P3^7;//時鐘 ?sbit?ST =P3^5;//開始 ?sbit?EOC =P3^6;//成功信號 ?sbit?gwei =P3^4;//個位 ?sbit?swe...
上傳時間: 2013-10-16
上傳用戶:黃蛋的蛋黃
資源簡介:#include?<malloc.h>??? ?? #include?<stdio.h>??? ?? #include?<stdlib.h>??? ?? #include?<string.h>??? ?? #define?NULL?0?? ?? #define?MaxSize?30?? ?? ??? typedef...
上傳時間: 2016-12-28
上傳用戶:150501
資源簡介:#include "iostream" using namespace std; class Matrix { private: double** A; //矩陣A double *b; //向量b public: int size; Matrix(int ); ~Matrix(); friend double* Dooli(Matrix& ); void Input(); ...
上傳時間: 2018-05-20
上傳用戶:Aa123456789
資源簡介:#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
資源簡介://芯片資料請到www.elecfans.com查找 //DS1820 C51 子程序//這里以11.0592M晶體為例,不同的晶體速度可能需要調(diào)整延時的時間//sbit DQ =P2^1;//根據(jù)實際情況定義端口 typedef unsigned char byte;typedef unsigned int? word; //延時void delay(word usecond...
上傳時間: 2013-11-03
上傳用戶:hongmo
資源簡介:??? C語言函數(shù)大全,已包含絕大部分的函數(shù)。每個函數(shù)包含函數(shù)名,功能,用法,舉例,內(nèi)容詳盡。希望對大家有所幫助~~ 函數(shù)名: abort 功 能: 異常終止一個進程 用 法: void abort(void); 程序例: #include #include ...
上傳時間: 2013-12-06
上傳用戶:feifei0302
資源簡介://------------------------------------------------------------------------------------//此程序為ADC轉(zhuǎn)換程序,可以選擇向ADC0BUSY寫1或用定時器0,1,2,3作為ADC的啟動信號。////----------------------------------------------------------------------...
上傳時間: 2013-10-13
上傳用戶:SimonQQ
資源簡介:注:1.這篇文章斷斷續(xù)續(xù)寫了很久,畫圖技術(shù)也不精,難免錯漏,大家湊合看.有問題可以留言. ???? 2.論壇排版把我的代碼縮進全弄沒了,大家將代碼粘貼到arduino編譯器,然后按ctrl+T重新格式化代碼格式即可看的舒服. 一、什么是PWM PWM 即Pulse Wavelength M...
上傳時間: 2013-10-08
上傳用戶:dingdingcandy
資源簡介:注:1.這篇文章斷斷續(xù)續(xù)寫了很久,畫圖技術(shù)也不精,難免錯漏,大家湊合看.有問題可以留言. ???? 2.論壇排版把我的代碼縮進全弄沒了,大家將代碼粘貼到arduino編譯器,然后按ctrl+T重新格式化代碼格式即可看的舒服. 一、什么是PWM PWM 即Pulse Wavelength M...
上傳時間: 2013-10-23
上傳用戶:mqien
資源簡介:軟件測試:一個編譯器測試軟件,支持下列C語言運算符:+ - * / % ^(乘方) 負(fù) (int) (double) "字符串" [](數(shù)組) > < == >= <= != && ! ++ -- = += -= *= /= %= ^=,支持下列關(guān)鍵字:void int double string if else for while do goto break continue ret...
上傳時間: 2013-12-15
上傳用戶:sy_jiadeyi
資源簡介:自定義一個簡單的日期類DateType,它具有數(shù)據(jù)成員y、m、d,用來表示當(dāng)前日期的年、月、日。而后設(shè)計該類欲實現(xiàn)(完成)的功能,進而設(shè)計出相應(yīng)的類成員函數(shù)。 例如,下面給出的“雛形”可用來實現(xiàn)對天的增加,比較兩個日期是否相等,以及對日期的輸出等操作...
上傳時間: 2013-12-22
上傳用戶:songyue1991
資源簡介:[問題描述] 將N個關(guān)鍵字去整數(shù)的記錄進行整序, 以使所有關(guān)鍵字為非負(fù)數(shù)的記錄排在關(guān)鍵字為負(fù)數(shù)的記錄之前,要求使用最少的附加空間,且算法的時間復(fù)雜度為O(N) [輸入] 待排序記錄個數(shù),各關(guān)鍵字的值。 [輸出] 關(guān)鍵字從正負(fù)分開,正數(shù)在前 [存儲結(jié)構(gòu)]...
上傳時間: 2014-01-13
上傳用戶:aig85
資源簡介:液晶 OCM/TG240128 驅(qū)動 編程語言: C 原產(chǎn)品硬件ATMega128/1280 ,晶振14.7456M 軟件AVR ICC7.14C 破解版 由產(chǎn)品源碼中提取,詳細(xì)的字符和圖行操作.實現(xiàn)LCD內(nèi)任何位置的定位操作. void LCD_Init(void) void GMoveTo(U8 yline, U8 xcolumn) voi...
上傳時間: 2013-12-27
上傳用戶:youke111
資源簡介:java 線程 靜態(tài)鎖,對象鎖, synchronized 是鎖方法還是鎖對象?還是鎖類?如何實現(xiàn)?? 部分代碼如下, public static Object lock=new Object() //靜態(tài)鎖,鎖類,不是鎖對象了!!所以兩個線程同時 運行兩個 TestThread 的execute( ),也可以同...
上傳時間: 2017-07-15
上傳用戶:lijianyu172
資源簡介:#include<reg52.h>? #include<intrins.h> #define LED P0 sbit KEY0=P2^0; ?//定義按鍵輸入端口 A ?? sbit KEY1=P2^1; ?//定義按鍵輸入端口 B ?? sbit KEY2=P2^2; ?//定義按鍵輸入端口 C unsigned int Led_table[8]={0xfe,0xfc,0xf8,0xf0,0xe0,0xc...
上傳時間: 2015-12-23
上傳用戶:kimyu
資源簡介:/****************************************************************? ? ? ? ? ? ? ? ? 外部晶振8M? ? ? ? ? ? ? ? ? PA0~3:四位數(shù)碼管的位選? ? ? ? ? ? ? ? ? PB0~7:數(shù)碼管的8位段選? ? ? ? ? ? ? ? ? 外部中斷0用...
上傳時間: 2016-03-09
上傳用戶:彥 yan
資源簡介:/*import java.util.Scanner; //主類 public class student122 { ??//主方法 ??public static void main(String[] args){ ????//定義7個元素的字符數(shù)組 ????String[] st = new String[7]; ????InputSt(st); ?????...
上傳時間: 2017-03-17
上傳用戶:simple
資源簡介:1.Describe a Θ(n lg n)-time algorithm that, given a set S of n integers and another integer x, determines whether or not there exist two elements in S whose sum is exactly x. (Implement exercise 2.3-7.) #include<stdio.h> #include<stdlib...
上傳時間: 2017-04-01
上傳用戶:糖兒水嘻嘻