一:需求分析 1. 問題描述 魔王總是使用自己的一種非常精練而抽象的語言講話,沒人能聽懂,但他的語言是可逐步解釋成人能聽懂的語言,因為他的語言是由以下兩種形式的規則由人的語言逐步抽象上去的: ----------------------------------------------------------- (1) a---> (B1)(B2)....(Bm) (2)[(op1)(p2)...(pn)]---->[o(pn)][o(p(n-1))].....[o(p1)o] ----------------------------------------------------------- 在這兩種形式中,從左到右均表示解釋.試寫一個魔王語言的解釋系統,把 他的話解釋成人能聽得懂的話. 2. 基本要求: 用下述兩條具體規則和上述規則形式(2)實現.設大寫字母表示魔王語言的詞匯 小寫字母表示人的語言的詞匯 希臘字母表示可以用大寫字母或小寫字母代換的變量.魔王語言可含人的詞匯. (1) B --> tAdA (2) A --> sae 3. 測試數據: B(ehnxgz)B 解釋成 tsaedsaeezegexenehetsaedsae若將小寫字母與漢字建立下表所示的對應關系,則魔王說的話是:"天上一只鵝地上一只鵝鵝追鵝趕鵝下鵝蛋鵝恨鵝天上一只鵝地上一只鵝". | t | d | s | a | e | z | g | x | n | h | | 天 | 地 | 上 | 一只| 鵝 | 追 | 趕 | 下 | 蛋 | 恨 |
上傳時間: 2014-12-02
上傳用戶:jkhjkh1982
UCOS/II for ICCAVR - The version of UCOS/II is 2.04 - the original port was done by Ole Saether for the IAR compiler. Jens E. Holtegaard ported one version using ICCAVR. Joerg Meyer did another port (using Jens port as a start?). This is basically Joerg s port plus a little bit of changes and documentation by me. - YOU MUST DOWNLOAD THE MAIN PART OF THE UCOS/II FROM THE UCOS/II WEBSITE http://www.ucos-ii.com . The supplied project file assumes the portable source is in the ..\source directory. - Joerg has written couple document showing the stack frames etc. but it is in German :-) They are included in this directory. - The Timer2 overflow interrupt is used for Timer Tick. If you want to change that, modify os_cpu_c.c and os_cpu_a.s - I have tested this using ATMega103 with and without external RAM using AVR Studio simulator. See test1.c test program. Both Code Compressed (PRO) and STD versions have been tested.
標簽: UCOS original Saether version
上傳時間: 2015-11-14
上傳用戶:ippler8
SpringSide以Spring Framework為核心,以Ruby On Rails的簡約風格整合Java社區的眾多開源項目,為大家開發Java企業應用提供一個方便起點。 它所整合的Full-Stack 的開源構件庫,包括了WebService,JMS,工作流,安全,報表,規則引擎,搜索引擎,定時任務等企業應用特性,以構件式的開發架構,配合Ant腳本與SpringSide-IDE(Eclipse插件),作為一個一站式的快速Java開發框架。 同時,它的示例代碼充分演示了開發團隊與SpringSide社區共同總結的,Java企業應用領域方方面面的Best Practice。
標簽: SpringSide Framework Spring 核心
上傳時間: 2015-11-20
上傳用戶:haoxiyizhong
CFlowchartEditor is an extension of CDiagramEditor. CDiagramEditor is a vector editor, with a CWnd-derived window (CDiagramEditor), a data container (CDiagramEntityContainer) holding the draw-objects, undo stack and managing copy and paste, and objects derived from CDiagramEntity representing objects drawn on screen. CDiagramEditor lacks one feature (that is difficult to implement in both simple and general fashion) - links. Manually maintaining links in a - for example - flowchart or network topography map is unwieldy. Therefore, I ve created a reference implementation for one way of adding this functionality.
標簽: CDiagramEditor CFlowchartEditor extension CWnd-d
上傳時間: 2015-11-21
上傳用戶:氣溫達上千萬的
LCD/LED數碼顯示控件,可顯示0~9,a~z的部分字符
上傳時間: 2014-01-02
上傳用戶:sk5201314
The source code for this package is located in src/gov/nist/sip/proxy. The proxy is a pure JAIN-SIP application: it does not need proprietary nist-sip classes in addition of those defined in JAIN-SIP 1.1, you can substitute the NIST-SIP stack by another JAIN-SIP-1.1 compliant stack and it should interoperate. he proxy can act as presence server and be able to process NOTIFY and SUBSCRIBE requests. If this parameter is disabled, the proxy will simply forward those kind of requests following the appropriate routing decision.
標簽: proxy The JAIN-SIP package
上傳時間: 2015-11-30
上傳用戶:ippler8
he source code for this package is located in src/ directory. The JAIN-SIP-SERVICES is a JAIN-SIP application: it does not need proprietary nist-sip classes in addition of those defined in JAIN-SIP 1.1, you can substitute the NIST-SIP stack by another JAIN-SIP-1.1 compliant stack and it should interoperate.
標簽: JAIN-SIP-SERVICES directory JAIN-SIP package
上傳時間: 2013-12-30
上傳用戶:caiiicc
The sfloppy sample is a super floppy driver that resides in the directory \\Ntddk\Src\Storage\sfloppy. It is a class driver for Super Floppy disk drives. It sits a level above the port driver (ATAPI, USB, etc) in the driver stack, and brokers communication between the application level and the port driver. The floppy driver takes requests from filesystem drivers and then sends the appropriate SCSI_REQUEST_BLOCK (SRB) to the port driver. It is compatible with x86 and IA64 platforms.
標簽: NtddkSrcStoragesfloppy directory sfloppy resides
上傳時間: 2015-12-04
上傳用戶:84425894
實現int或long int類型數據向time類型數據轉化,比如說,int i=258147369, 它將轉化為x小時y分z秒。
上傳時間: 2015-12-04
上傳用戶:waitingfy
Internet Direct(Indy)是一組開放源代碼的Internet組件,涵蓋了幾乎所有流行的Internet協議。Indy用delphi編寫,被包含在delphi 6,Kylix 1和C++ Builder 6及以上各個版本的Borland開發環境中。Indy曾經叫做WinShoes(雙關于WinSock——Windows的Socket庫),是由Chad Z. Hower領導的一群開發者構建的,可以從Indy的站點www.nevrona.com/indy上找到更多的信息并下載其新版本。到筆者撰寫本文時為止,Indy的最新穩定版是9.0.14,Indy 10也進入了Beta測試階段。
標簽: Internet Direct Indy 開放源代碼
上傳時間: 2015-12-05
上傳用戶:xg262122