十部經(jīng)典算法合集 .chm Fundamentals of Data Structures by Ellis Horowitz and Sartaj Sahni PREFACE CHAPTER 1: INTRODUCTION CHAPTER 2: ARRAYS CHAPTER 3: STACKS AND QUEUES CHAPTER 4: LINKED LISTS CHAPTER 5: TREES CHAPTER 6: GRAPHS CHAPTER 7: INTERNAL SORTING CHAPTER 8: EXTERNAL SORTING CHAPTER 9: SYMBOL TABLES CHAPTER 10: FILES APPENDIX A: SPARKS APPENDIX B: ETHICAL CODE IN INFORMATION PROCESSING APPENDIX C: ALGORITHM INDEX BY CHAPTER
標簽: Fundamentals Structures Horowitz PREFACE
上傳時間: 2015-05-19
上傳用戶:維子哥哥
原文書名: 《Writing Clean Code ── Microsoft Techniques for Developing Bug-free C Programs》 Steve maguire 著 Microsoft Press 出版 所據(jù)譯本: 《編程精粹 ── Microsoft 編寫優(yōu)質(zhì)無錯C 程序秘訣》 姜靜波、佟金榮 譯,麥中凡 校 電子工業(yè)出版社 出版 整理: Solmyr:序、某些背景、命名約定、引言、第1、2、3、8 章、后記、參考文獻 iliad: 第4、5 章 lavos: 第6 章、附錄A warz: 第7 章 chief: 附錄B、C
標簽: Developing Techniques Microsoft Bug-free
上傳時間: 2013-11-25
上傳用戶:stampede
89S51 與數(shù)碼管顯示器以及鍵盤SW 對應(yīng)引腳的聯(lián)機為: P0.0-------------------------數(shù)碼管顯示器的a腳 P0.1-------------------------數(shù)碼管顯示器的b腳 P0.2-------------------------數(shù)碼管顯示器的c腳 P0.3-------------------------數(shù)碼管顯示器的d腳 P0.4-------------------------數(shù)碼管顯示器的e腳 P0.5-------------------------數(shù)碼管顯示器的f腳 P0.6-------------------------數(shù)碼管顯示器的g腳 P0.7-------------------------數(shù)碼管顯示器的dp腳 ; P2.2-------------------------數(shù)碼管顯示器1的驅(qū)動腳 P2.3-------------------------數(shù)碼管顯示器2的驅(qū)動腳 P2.4-------------------------數(shù)碼管顯示器3的驅(qū)動腳 P2.5-------------------------數(shù)碼管顯示器4的驅(qū)動腳 P2.6-------------------------數(shù)碼管顯示器5的驅(qū)動腳 P2.7-------------------------數(shù)碼管顯示器6的驅(qū)動腳 ; P2.2-------------------------鍵盤SW1 P2.3-------------------------鍵盤SW2 P2.4-------------------------鍵盤SW3 P2.5-------------------------鍵盤SW4 P2.6-------------------------鍵盤SW5 P2.7-------------------------鍵盤SW6
上傳時間: 2013-12-29
上傳用戶:1583060504
crc任意位生成多項式 任意位運算 自適應(yīng)算法 循環(huán)冗余校驗碼(CRC,Cyclic Redundancy Code)是采用多項式的 編碼方式,這種方法把要發(fā)送的數(shù)據(jù)看成是一個多項式的系數(shù) ,數(shù)據(jù)為bn-1bn-2…b1b0 (其中為0或1),則其對應(yīng)的多項式為: bn-1Xn-1+bn-2Xn-2+…+b1X+b0 例如:數(shù)據(jù)“10010101”可以寫為多項式 X7+X4+X2+1。 循環(huán)冗余校驗CRC 循環(huán)冗余校驗方法的原理如下: (1) 設(shè)要發(fā)送的數(shù)據(jù)對應(yīng)的多項式為P(x)。 (2) 發(fā)送方和接收方約定一個生成多項式G(x),設(shè)該生成多項式 的最高次冪為r。 (3) 在數(shù)據(jù)塊的末尾添加r個0,則其相對應(yīng)的多項式為M(x)=XrP(x) 。(左移r位) (4) 用M(x)除以G(x),獲得商Q(x)和余式R(x),則 M(x)=Q(x) ×G(x)+R(x)。 (5) 令T(x)=M(x)+R(x),采用模2運算,T(x)所對應(yīng)的數(shù)據(jù)是在原數(shù) 據(jù)塊的末尾加上余式所對應(yīng)的數(shù)據(jù)得到的。 (6) 發(fā)送T(x)所對應(yīng)的數(shù)據(jù)。 (7) 設(shè)接收端接收到的數(shù)據(jù)對應(yīng)的多項式為T’(x),將T’(x)除以G(x) ,若余式為0,則認為沒有錯誤,否則認為有錯。
上傳時間: 2014-11-28
上傳用戶:宋桃子
by Randal L. Schwartz and Tom Phoenix ISBN 0-596-00132-0 Third Edition, published July 2001. (See the catalog page for this book.) the text of Learning Perl, 3rd Edition. Table of Contents Copyright Page Preface Chapter 1: Introduction Chapter 2: Scalar Data Chapter 3: Lists and Arrays Chapter 4: Subroutines Chapter 5: Hashes Chapter 6: I/O Basics Chapter 7: Concepts of Regular Expressions Chapter 8: More About Regular Expressions Chapter 9: Using Regular Expressions Chapter 10: More Control Structures Chapter 11: Filehandles and File Tests Chapter 12: Directory Operations Chapter 13: Manipulating Files and Directories Chapter 14: Process Management Chapter 15: Strings and Sorting Chapter 16: Simple Databases Chapter 17: Some Advanced Perl Techniques Appendix A: Exercise Answers Appendix B: Beyond the Llama Index Colophon
標簽: L. published Schwartz Edition
上傳時間: 2014-11-29
上傳用戶:kr770906
by Randal L. Schwartz and Tom Phoenix ISBN 0-596-00132-0 Third Edition, published July 2001. (See the catalog page for this book.) Learning Perl, 3rd Edition. Table of Contents Copyright Page Preface Chapter 1: Introduction Chapter 2: Scalar Data Chapter 3: Lists and Arrays Chapter 4: Subroutines Chapter 5: Hashes Chapter 6: I/O Basics Chapter 7: Concepts of Regular Expressions Chapter 8: More About Regular Expressions Chapter 9: Using Regular Expressions Chapter 10: More Control Structures Chapter 11: Filehandles and File Tests Chapter 12: Directory Operations Chapter 13: Manipulating Files and Directories Chapter 14: Process Management Chapter 15: Strings and Sorting Chapter 16: Simple Databases Chapter 17: Some Advanced Perl Techniques Appendix A: Exercise Answers Appendix B: Beyond the Llama Index Colophon
標簽: L. published Schwartz Edition
上傳時間: 2015-09-03
上傳用戶:lifangyuan12
該源碼是一個問題的解決方法。問題是給你個長為L的串,串中可以出現(xiàn)n種字符,還給出m個子串,求有多少個長為n的只由這些字串組成的串。輸入例子:4 5 6 ABB BCA BCD CAB CDD DDA 結(jié)果為2.而5 4 5 E D C B A的結(jié)果為625
標簽: 源碼
上傳時間: 2014-01-12
上傳用戶:水中浮云
/*** *** *** *** *** *** *** *** *** *** *** *** **/ //**此映射表用來映射LED模塊不譯碼時,顯示的字符和必須輸入的數(shù)據(jù)的關(guān)系 //**每段和對應(yīng)比特位的關(guān)系見示意圖 // g // --- --- // b | a |f | | <---顯示0時點亮的段為gfedcb // --- // c | |e | | 那么寫入數(shù)據(jù)為0x7e // --- --- // d // bit: 7 6 5 4 3 2 1 0 // 段位: g f e d c b a
上傳時間: 2013-11-25
上傳用戶:
1.內(nèi)存管理一律根據(jù)實際需要的大小在堆中動態(tài)分配內(nèi)存。 2.邊界檢查。如果數(shù)組下標超越了數(shù)組大小界限,會給出警告信息,可以防止非法內(nèi)存訪問以及方便程序的調(diào)試。 3.重載了+,-,*,+=,-=,數(shù)乘等常見運算符; 4.可以保存數(shù)組為二進制數(shù)據(jù)文件和文本文件兩種形式,也可以從二進制數(shù)據(jù)文件和文本文件讀取數(shù)據(jù)到數(shù)組。 5.實現(xiàn)了和矩陣相關(guān)的線性代數(shù)方程組求解算法。一是高斯選主元消去法二是針對三對角矩陣的追趕法。 6.靜態(tài)函數(shù)Bspline3():3次B樣條曲線插值算法
標簽: 數(shù)組 內(nèi)存管理 內(nèi)存 動態(tài)分配
上傳時間: 2015-09-24
上傳用戶:leixinzhuo
程序作用:測試Sage Tech.開發(fā)板(MCP300)中hd7279鍵盤顯示芯片是否能正常工作 */ /*程序功能:按下1號鍵顯示0、1、2、3,按下2號鍵顯示c、d、e、f,按下3號鍵顯示4、5、6、7 */ /* 按下4號鍵顯示8、9、a、b,按下0號鍵點亮4個LED燈 */
上傳時間: 2013-12-30
上傳用戶:Ants
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1