Although there has been a lot of AVL tree libraries available now, nearly all of them are meant to work in the random access memory(RAM). Some of them do provide some mechanism for dumping the whole tree into a file and loading it back to the memory in order to make data in that tree persistent. It serves well when there s just small amount of data. When the tree is somewhat bigger, the dumping/loading process could take a lengthy time and makes your mission-critical program less efficient. How about an AVL tree that can directly use the disk for data storage ? If there s something like that, we won t need to read through the whole tree in order to pick up just a little bit imformation(a node), but read only the sectors that are neccssary for locating a certain node and the sectors in which that node lies. This is my initial motivation for writing a storage-media independent AVL Tree. However, as you step forth, you would find that it not only works fine with disks but also fine with memorys, too.
標簽: available libraries Although nearly
上傳時間: 2014-01-22
上傳用戶:zhoujunzhen
數字運算,判斷一個數是否接近素數 A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number because the sum of its digits is 3, which divides 111. We can also specify a number in another base b, and a number in base b is a Niven number if the sum of its digits divides its value. Given b (2 <= b <= 10) and a number in base b, determine whether it is a Niven number or not. Input Each line of input contains the base b, followed by a string of digits representing a positive integer in that base. There are no leading zeroes. The input is terminated by a line consisting of 0 alone. Output For each case, print "yes" on a line if the given number is a Niven number, and "no" otherwise. Sample Input 10 111 2 110 10 123 6 1000 8 2314 0 Sample Output yes yes no yes no
上傳時間: 2015-05-21
上傳用戶:daguda
This book isn t for uber-programmers who already have all the answers. If you think that J2EE does everything that you need it to do and you can make it sing, this book is not for you. Believe me, there are already enough books out there for you.
標簽: uber-programmers already answers think
上傳時間: 2015-05-22
上傳用戶:tb_6877751
These routines transmit and receive serial data using two general * I/O pins, in 8 bit, No parity, 1 stop bit format. They are useful * for performing serial I/O on 8051 derivatives not having an * internal UART, or for implementing a second serial channel.
標簽: routines transmit receive general
上傳時間: 2015-05-22
上傳用戶:firstbyte
很好的linux內核調試軟件 兼轅馬,沒有密碼。 The ia64 and ix86 directories contain versions of kdb prior to v2.0 (kdb version v2.0, not the kernel version). Older versions of kdb had complete patches for each architecture it supported, each patch included all the common kdb code. This format was awkward to maintain and use for multiple platforms. Starting with kdb v2.0 there is a common patch against each kernel which contains all the architecture independent code plus separate architecture dependent patches. Either use an old style (v1.8 or v1.9) kdb patch or use a new style (v2.0) common patch plus the corresponding architecture dependent patch.
上傳時間: 2014-01-21
上傳用戶:wyc199288
聯訊KingOA辦公系統,無限制版!演示http://oa.supersun.cn 首先導入SQL.txt的數據庫。然后設置setup.php 和setup1.php的參數就馬上可以使用了。有問題可以訪問www.supersun.cn或咨詢QQ:313489049 本OA系統提供以下功能 1。文檔管理。(本系統最大特色是文檔的權限設置。可以設置不同的部門只能看自己的文檔,) 2。日程安排。(有公共得日程所有人都能看見,有個人日程只有自己能看) 3. 通訊錄。(分為個人通訊和公共通訊錄) 4. 論壇。(用于企業員工交流)
標簽: KingOA
上傳時間: 2014-01-25
上傳用戶:咔樂塢
graspForth is my humble attempt at a Forth-in-C that has the following goals: GCC ......... to support all 32-bit micros that GCC cross-compiles to. Relocatable . to be able to run in-place in either Flash or Ram. Fast ........ to be "not much" slower than an assembly based native Forth. Small ....... to fit-in approx 300 words in less than 25Kbytes on a 32-bit machine. Portable .... to achieve a 5 minute port to a new 32bit micro-processor, or micro-controller.
標簽: graspForth Forth-in-C following attempt
上傳時間: 2015-05-23
上傳用戶:tfyt
See Appendix B for a description of the programs included on this companion disk. RESOURCE.WRI identifies other books and resources for Internet programming. WEBHELP.HLP contains an introduction to the World Wide Web. TCPMAN.HLP provides detailed instructions to help you use the Trumpet Winsock included on this disk. Use the Program Manager s File menu Run option to execute the SETUP.EXE program found on this disk. SETUP.EXE will install the programs on your hard drive and create an Internet Programming group window. Internet編程技術 [配套程序] [涉及平臺] VC [作者] void [文件大小] 1032K
標簽: description companion Appendix RESOURCE
上傳時間: 2013-12-04
上傳用戶:asasasas
MFC Black Book Introduction: Are you an MFC programmer? Good. There are two types of MFC programmers. What kind are you? The first kind are the good programmers who write programs that conform to the way MFC wants you to do things. The second bunch are wild-eyed anarchists who insist on getting things done their way. Me, I’m in the second group. If you are in the same boat (or would like to be) this book is for you. This book won’t teach you MFC—not in the traditional sense. You should pick it up with a good understanding of basic MFC programming and a desire to do things differently. This isn’t a Scribble tutorial (although I will review some fundamentals in the first chapter). You will learn how to wring every drop from your MFC programs. You’ll discover how to use, abuse, and abandon the document/view architecture. If you’ve ever wanted custom archives, you’ll find that, too.
標簽: MFC Introduction programmer programme
上傳時間: 2015-05-30
上傳用戶:youke111
程序名稱: 北雨求職招聘系統V2.0.10 軟件類別: JSP源碼 / 人才交友 軟件語言: 簡體中文 授權方式: 免費版 系統平臺: JSP+MYSQL 程序下載: http://lfbay.com/job.rar程序演示: http://www.lfbay.comhttp://www.lfbay.com 官方網址: http://lfbay.com/ 介紹: 適合大中型人才網或門戶網站的人才頻道均可,速度快,安全好,功能多! 安裝方法: 1把所有文件上傳至服務器 2運行setup/index.jsp按提示安裝即可
上傳時間: 2013-12-18
上傳用戶:ghostparker