c語(yǔ)言寫的用于單片機(jī)mps430的底層通信協(xié)議,包含了bch編解碼,交織編解碼,和crc校驗(yàn)。經(jīng)過(guò)簡(jiǎn)單的修改即可用于其他的單片機(jī)。
標(biāo)簽: 430 mps c語(yǔ)言 單片機(jī)
上傳時(shí)間: 2013-12-12
上傳用戶:希醬大魔王
剖析Intel IA32 架構(gòu)下C 語(yǔ)言及CPU 浮點(diǎn)數(shù)機(jī)制 Version 0.01 哈爾濱工業(yè)大學(xué) 謝煜波 (email: xieyubo@126.com 網(wǎng)址:http://purec.binghua.com) (QQ:13916830 哈工大紫丁香BBSID:iamxiaohan) 前言 這兩天翻看一本C 語(yǔ)言書的時(shí)候,發(fā)現(xiàn)上面有一段這樣寫到 例:將同一實(shí)型數(shù)分別賦值給單精度實(shí)型和雙精度實(shí)型,然后打印輸出。 #include <stdio.h> main() { float a double b a = 123456.789e4 b = 123456.789e4 printf(“%f\n%f\n”,a,b) } 運(yùn)行結(jié)果如下:
標(biāo)簽: Version xieyubo Intel email
上傳時(shí)間: 2013-12-25
上傳用戶:徐孺
編程精粹 ─── Microsoft 編寫優(yōu)質(zhì)無(wú)錯(cuò)C 程序秘訣 Writing Clean Code ─── Microsoft Techniques for Developing Bug-free C Programs Steve Maguire 著 姜靜波 佟金榮 譯 麥中凡 校 電子工業(yè)出版社 編寫優(yōu)化、高效、無(wú)錯(cuò)地代碼 2 這份電子書籍由PC Home 俱樂(lè)部、C++ Bulider 討論區(qū)數(shù)位網(wǎng)友分別整理完成,基本 上完全按照所據(jù)譯本原貌,極少數(shù)文字為通順起見稍作修改。由于并非一人整理完成,書 中例程各章節(jié)代碼書寫風(fēng)格可能稍有不同,如指針聲明,以下兩種寫法都存在: void* pv // ‘*’號(hào)與類型說(shuō)明符相連 void *pv // ‘*’號(hào)與變量名相連
標(biāo)簽: Microsoft Developing Techniques Writing
上傳時(shí)間: 2014-01-23
上傳用戶:啊颯颯大師的
矩陣運(yùn)算的算法 用Type類數(shù)組創(chuàng)建矩陣對(duì)象 matrix(int rows,int cols) //創(chuàng)建矩陣,值為0 matrix(int n) //創(chuàng)建單位陣 matrix(const matrix &) //拷貝構(gòu)造函數(shù) BOOL Ismatrixf(){ return (rows==cols) } //判斷矩陣是否為方陣 modifyrowscols(int rows,int cols) //修改矩陣的行列數(shù) ~matrix() {delete []elems } //析構(gòu)函數(shù)
標(biāo)簽: matrix int Type cols
上傳時(shí)間: 2015-07-14
上傳用戶:水口鴻勝電器
本人初學(xué)c語(yǔ)言程序不是很拿手,n!的求法。。希望大家指教
上傳時(shí)間: 2015-08-13
上傳用戶:athjac
n皇后問(wèn)題,rar格式,運(yùn)行環(huán)境c++,n〉=1
標(biāo)簽:
上傳時(shí)間: 2015-08-16
上傳用戶:helmos
This section contains a brief introduction to the C language. It is intended as a tutorial on the language, and aims at getting a reader new to C started as quickly as possible. It is certainly not intended as a substitute for any of the numerous textbooks on C. 2. write a recursive function FIB (n) to find out the nth element in theFibanocci sequence number which is 1,1,2,3,5,8,13,21,34,55,…3. write the prefix and postfix form of the following infix expressiona + b – c / d + e * f – g * h / i ^ j4. write a function to count the number of nodes in a binary tr
標(biāo)簽: introduction the contains intended
上傳時(shí)間: 2013-12-23
上傳用戶:liansi
C語(yǔ)言 打印“魔方陣”,所謂魔方陣是指這樣的方陣 ,它的每一行,每一列和對(duì)角線之間和均相等。例如,三階魔方陣為 8 1 6 3 5 7 4 9 2 要求打印出1~n的平方數(shù)的自然數(shù)的魔方陣。
上傳時(shí)間: 2015-08-26
上傳用戶:er1219
C# BigInteger class. BigInteger.cs is a csharp program. It is the BIgInteger class. It has methods: abs() , FermatLittleTest(int confidence) ,gcd(BigInteger bi) , genCoPrime(int bits, Random rand) , genPseudoPrime(int bits, int confidence, Random rand) , genRandomBits(int bits, Random rand) , isProbablePrime(int confidence) , isProbablePrime() , Jacobi(BigInteger a, BigInteger b) , LucasSequence(BigInteger P, BigInteger Q, BigInteger k, BigInteger n) ,max(BigInteger bi) , min(BigInteger bi) , modInverse(BigInteger modulus) , RabinMillerTest(int confidence) ,
標(biāo)簽: BigInteger class BIgInteger program
上傳時(shí)間: 2013-12-23
上傳用戶:ynzfm
利用函數(shù)MadHG生成規(guī)則LDPC碼的校驗(yàn)矩陣H,其行重為6,列重為3,行數(shù)為列數(shù)一半(行數(shù)越大越好),H中任意兩列沒(méi)有圍長(zhǎng)為4的圈,并得到H對(duì)應(yīng)的生成矩陣G,可以保證mod(G*H ,2)=0。使用方法為:[H,G] = MadHG(m,n,x),x= 1(得到的G左半部分為單位陣) or 2(G右半部分為單位陣),
標(biāo)簽: MadHG LDPC 函數(shù) 矩陣
上傳時(shí)間: 2013-12-06
上傳用戶:xiaohuanhuan
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1