C++ From Scratch: An Object-Oriented Approach is designed to walk novice programmers through the analysis, design and implementation of a functioning object-oriented application using C++. You will learn all the critical programming concepts and techniques associated with the language in the context of creating a functioning application. Best selling C++ author Jesse Liberty shows you how to create "Decryptix", a game of decoding a hidden pattern as quickly as possible, using nothing but successive guesses and the application of logic. Every example and technique is put into the context of achieving a goal and accomplishing an end.
標簽: Object-Oriented programmers Approach designed
上傳時間: 2013-12-25
上傳用戶:225588
雙擊可執行文件wbbjq.exe,在出現的界面中輸入任意文本內容,利用DEL鍵、 BACKSPACE鍵、HOME鍵、end鍵、上下左右光標鍵對文本進行全屏幕編輯, 按f1鍵激活菜單file,下移光標,選擇save,輸入文件名。也可以選擇FILE菜單 的其他菜單項,他們的功能均可實現。按f10激活幫助,按ESC鍵退出幫助。
上傳時間: 2013-12-16
上傳用戶:xaijhqx
Aodv for NS-2. A mobile ad-hoc network (MANET) is a kind of wireless ad-hoc network, and is a self-configuring network of mobile routers connected wirelessly. MANET may operate in a standalone fashion, or may be connected to the larger Internet. Many routing protocols have been developed for MANETs over the past few years. This project evaluated three specific MANET routing protocols which are Ad-hoc On-demand Distance Vector (AODV), Dynamic Source Routing (DSR) and Dynamic MANET Ondemand routing protocol (DYMO) to better understand the major characteristics of these routing protocols. Different performance aspects were investigated in this project including packet delivery ratio, routing overhead, throughput and average end-to-end delay.
標簽: network ad-hoc wireless mobile
上傳時間: 2014-01-12
上傳用戶:zsjzc
實驗目的:用c語言對一個簡單語言的子集編制一個一遍掃描的編譯程序,以加深對編譯原理的理解,掌握編譯程序的實現方法和技術。 c.1詞法分析 c.1.1實驗目的 設計、編制并調試一個詞法分析程序,加深對詞法分析原理的理解。 c.1.2實驗要求 c.1.2.1待分析的簡單語言的詞法 (1) 關鍵字: begin if then while do end --------有實驗報告+.cpp+分析
上傳時間: 2013-12-23
上傳用戶:z754970244
語法分析 C2.1 實驗目的 編制一個遞歸下降分析程序,實現對詞法分析程序所提供的單詞序列的語法檢查和結構分析. C2.2 實驗要求 利用C語言編制遞歸下降分析程序,并對簡單語言進行語法分析. C2.2.1待分析的簡單語言的語法 用擴充的BNF表示如下: (1)<程序>::=begin<語句串>end (2)<語句串>::=<語句>{ <語句>} (3)<語句>::=<賦值語句> (4)<賦值語句>::=ID:=<表達式> (5)<表達式>::=<項>{+<項> | —項>} (6)<項>::=<因子>{*<因子> | /<因子>} (7)<因子>::=ID | NUM | (<表達式>) C2。2。2實驗要求說明 輸入單詞串,以“#”結束,如果是文法正確的句子,則輸出成功信息,打印“success”,否則輸出“error”.
上傳時間: 2014-09-05
上傳用戶:caiiicc
實驗目的 通過上機實習,加深對語法制導翻譯原理的理解,掌握將語法分析所識別的語法成分變換為中間代碼的語義翻譯方法. 實驗要求 采用遞歸下降語法制導翻譯法,對算術表達式、賦值語句進行語義分析并生成四元式序列。 實驗的輸入和輸出 輸入是語法分析提供的正確的單詞串,輸出為三地址指令形式的四元式序列。 例如:對于語句串 begin a:=2+3*4 x:=(a+b)/c end# 輸出的三地址指令如下: (1) t1=3*4 (2) t2=2+t1 (3) a=t2 (4) t3=a+b (5) t4=t3/c (6) x=t4
上傳時間: 2017-09-27
上傳用戶:hjshhyy
DATAS SEGMENT w dw 0 keybuf db 255 db 0 db 255 dup(0) ;定義鍵盤輸入需要的緩沖區 DATAS endS STACKS SEGMENT db 200 dup(?) STACKS endS CODES SEGMENT ASSUME CS:CODES,DS:DATAS,SS:STACKS START: MOV AX,DATAS MOV DS,AX mov dx,offset keybuf ;用0a號功能,輸入一個字符串 mov ah,0ah ;用回車結束 int 21h mov dl,0ah ;再進行換行,以便在下一行顯示轉換后的字符串 mov ah,2 int 21h ; push ax ; push dx ; mov dl,cl ; mov ah,02 ; int 21h ; pop dx ; pop ax mov bx,offset keybuf+1 ;取出字符串的字符個數,作為循環的次數 mov cl,[bx] mov ch,0 mov ax,0 again: inc bx mov ax,[w] push bx mov bx,16 mul bx pop bx ;是小寫字母,則轉換為大寫字母 mov [w],ax mov dl,[bx] ;取出一個字符, cmp dl,'9' jbe lab1 cmp dl,'F' jbe lab2 sub dl,32 lab2: sub dl ,07h lab1: sub dl,30h add [w],dx loop again mov ax,[w] mov bx,-1 push bx mov bx,10 lab3 :mov dx,0 div bx push dx cmp ax,0 jnz lab3 lab5: pop dx cmp dx,-1 jz lab4 add dl,30h mov ah,02 int 21h jmp lab5 ;循環,處理完整個字符串 lab4: MOV AH,4CH INT 21H CODES endS end START
標簽: 匯編
上傳時間: 2015-04-02
上傳用戶:wcc0310
msp430代碼,精確測量信號頻率 程序描述:利用Timer_A捕獲脈沖寬度 利用MSP430單片機定時器A和捕獲/比較功能模塊結合使用,實現脈沖寬度的測量 程序用到了定時器A的CCI1A端口(MSP430F14X的P1.2引腳)作捕獲外部輸入 的脈沖電平跳變,start,end,兩個個變量來計算脈沖寬度
標簽: msp430測信號頻率代碼
上傳時間: 2015-05-05
上傳用戶:66998877
判斷奇偶數的匯編程序CODE SEGMENT ASSUME CS: CODE START: MOV AH, 01H ; 調用 DOS中斷的1號子功能(鍵入一個字符), INT 21H ; AL←鍵入一位數字 CMP AL, 30H ; 若輸入比‘0’小的字符則重新輸入 JB START CMP AL, 39H ; 若輸入比‘9’大的字符則重新輸入 JA START CLC ; CF標志清0 SHR AL, 1 ; AL最低位移入CF JNC EVN ; 根據CF的狀態,判斷輸入數字的奇偶性 MOV BL, 31H ; 奇數,BL←1的ASCII碼 JMP DISP EVN: MOV BL, 30H ; 偶數,BL←0的ASCII碼 DISP: MOV AH, 02H ; 調用DOS中斷的2號子功能,輸出字符 MOV DL, 0AH ; 輸出換行 INT 21H MOV DL, 0DH ; 輸出回車 INT 21H MOV DL, BL ; 輸出標志字符 INT 21H mov ah, 1 int 21h MOV AH, 4CH ; 返回DOS INT 21H CODE endS end START
上傳時間: 2015-06-10
上傳用戶:zhuangxj618
《分析性寫作》,介紹言簡意賅: The popular, brief rhetoric that treats writing as thinking, WRITING ANALYTICALLY, Sixth Edition, offers a series of prompts that lead you through the process of analysis and synthesis and help you to generate original and well-developed ideas. The book's overall point is that learning to write well means learning to use writing as a way of thinking well. To that end, the strategies of this book describe thinking skills that employ writing. As you will see, this book treats writing as a tool of thought--a means of undertaking sustained acts of inquiry and reflection.
上傳時間: 2015-08-22
上傳用戶:東大寺的