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.
標(biāo)簽: available libraries Although nearly
上傳時(shí)間: 2014-01-22
上傳用戶:zhoujunzhen
數(shù)字運(yùn)算,判斷一個(gè)數(shù)是否接近素?cái)?shù) 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
上傳時(shí)間: 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.
標(biāo)簽: uber-programmers already answers think
上傳時(shí)間: 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.
標(biāo)簽: routines transmit receive general
上傳時(shí)間: 2015-05-22
上傳用戶:firstbyte
很好的linux內(nèi)核調(diào)試軟件 兼轅馬,沒有密碼。 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.
標(biāo)簽: linux 內(nèi)核 調(diào)試軟件
上傳時(shí)間: 2014-01-21
上傳用戶:wyc199288
聯(lián)訊KingOA辦公系統(tǒng),無(wú)限制版!演示http://oa.supersun.cn 首先導(dǎo)入SQL.txt的數(shù)據(jù)庫(kù)。然后設(shè)置setup.php 和setup1.php的參數(shù)就馬上可以使用了。有問(wèn)題可以訪問(wèn)www.supersun.cn或咨詢QQ:313489049 本OA系統(tǒng)提供以下功能 1。文檔管理。(本系統(tǒng)最大特色是文檔的權(quán)限設(shè)置。可以設(shè)置不同的部門只能看自己的文檔,) 2。日程安排。(有公共得日程所有人都能看見,有個(gè)人日程只有自己能看) 3. 通訊錄。(分為個(gè)人通訊和公共通訊錄) 4. 論壇。(用于企業(yè)員工交流)
標(biāo)簽: KingOA
上傳時(shí)間: 2014-01-25
上傳用戶:咔樂(lè)塢
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.
標(biāo)簽: graspForth Forth-in-C following attempt
上傳時(shí)間: 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編程技術(shù) [配套程序] [涉及平臺(tái)] VC [作者] void [文件大小] 1032K
標(biāo)簽: description companion Appendix RESOURCE
上傳時(shí)間: 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.
標(biāo)簽: MFC Introduction programmer programme
上傳時(shí)間: 2015-05-30
上傳用戶:youke111
程序名稱: 北雨求職招聘系統(tǒng)V2.0.10 軟件類別: JSP源碼 / 人才交友 軟件語(yǔ)言: 簡(jiǎn)體中文 授權(quán)方式: 免費(fèi)版 系統(tǒng)平臺(tái): JSP+MYSQL 程序下載: http://lfbay.com/job.rar程序演示: http://www.lfbay.comhttp://www.lfbay.com 官方網(wǎng)址: http://lfbay.com/ 介紹: 適合大中型人才網(wǎng)或門戶網(wǎng)站的人才頻道均可,速度快,安全好,功能多! 安裝方法: 1把所有文件上傳至服務(wù)器 2運(yùn)行setup/index.jsp按提示安裝即可
上傳時(shí)間: 2013-12-18
上傳用戶:ghostparker
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1