1. PL/0 語言介紹 ●PL/0 程序設計語言是一個較簡單的語言,它以賦值語句為基礎,構造概念有順序、條件和重復(循環)三種。PL/0 有子程序概念,包括過程定義(可以嵌套)與調用且有局部變量說明。PL/0語言編譯程序采用以語法分析為核心、一遍掃描的編譯方法。詞法分析和代碼生成作為獨立的子程序供語法分析程序調用。語法分析的同時,提供了出錯報告和出錯恢復的功能。在源程序沒有錯誤編譯通過的情況下,調用類PCODE解釋程序解釋執行生成的類PCODE代碼。 ●保留字(關鍵字):所謂保留字是指在Pascal語言中具有特定的含義。標準Pascal語言中的保留字一共有35個,Turbo Pascal語言一共有51個。下面是Pascal語言的保留字:AND,ARRAY,BEGIN,CASE,CONST,DIV,DO,DOWNTO,ELSE,END,FILE,FOR,FUNTION,GOTO,IF,IN,LABEL,MOD,NIL,NOT,OF,OR,PACKED,PROCEDURE,PROGRAM,RECORD,REPEAT,SET,THEN,TO,TYPE,UNTIL,VAR,WHILE,WITH,EXPORTS,SHR,STRING,ASM,OBJECT,UNIT,CONSTRUCTOR,IMPLEMENTATION,DESTRUCTOR,USES,INHERITED,INLINE,INTERFACE,LIBRARY,XOR,SHL
上傳時間: 2015-07-17
上傳用戶:zm7516678
This text surrounds the development of the electric power SCADA system exactly, aiming at the present condition of the our country electric power charged barbed wire net currently, according to the oneself at the e- lectric power protect the profession after the electricity in seven years of development, design and adjust to try the experience on the scene from following severals carry on the treatise:Is the emergence to the system of SC- ADA and developments to introduce first Carry on the introduction elucidation to applied present condition and the development foregrounds of various terminal equipments communication agreement(rules invite) the next in order Then is the elucidation to the windows the bottom according to the mfc the plait distance environment an- d VC++6.0 plait distance softwares Carry on the more detailed treatise to the realization of the procedure struct- ure frame and the source code again End is the applied case example give examples.
標簽: the development surrounds electric
上傳時間: 2014-10-28
上傳用戶:liuchee
Readers can pick up this book and become familiar with C++ in a short time. Stan has taken a very broad and complicated topic and reduced it to the essentials that budding C++ programmers need to know to write real programs. His case study is effective and provides a familiar thread throughout the book.
標簽: familiar Readers become short
上傳時間: 2015-07-20
上傳用戶:thinode
zemax源碼: This DLL models a standard ZEMAX surface type, either plane, sphere, or conic The surface also demonstrates a user-defined apodization filter The filter is defined as part of the real ray trace, case 5 The filter can be used at the stop to produce x-y Gaussian apodization similar to the Gaussian pupil apodization in ZEMAX but separate in x and y. The amplitude apodization is of the form EXP[-(Gx(x/R)^2 + Gy(y/R)^2)] The transmission is of the form EXP[-2(Gx(x/R)^2 + Gy(y/R)^2)] where x^2 + y^2 = r^2 R = semi-diameter The tranmitted intensity is maximum in the center. T is set to 0 if semi-diameter < 1e-10 to avoid division by zero.
標簽: standard surface models either
上傳時間: 2013-12-05
上傳用戶:003030
ORACLE公司自86年推出版本5開始,系統具有分布數據庫處理功能.88年推出版本6,ORACLE RDBMS(V6.0)可帶事務處理選項(TPO),提高了事務處理的速度.1992年推出了版本7,在ORACLE RDBMS中可帶過程數據庫選項(procedural database option)和并行服務器選項(parallel server option),稱為ORACLE7數據庫管理系統,它釋放了開放的關系型系統的真正潛力。ORACLE7的協同開發環境提供了新一代集成的軟件生命周期開發環境,可用以實現高生產率、大型事務處理及客戶/服務器結構的應用系統。協同開發環境具有可移植性,支持多種數據來源、多種圖形用戶界面及多媒體、多民族語言、CASE等協同應用系統。
上傳時間: 2015-08-11
上傳用戶:xzt
ORACLE7的協同開發環境提供了新一代集成的軟件生命周期開發環境,可用以實現高生產率、大型事務處理及客戶/服務器結構的應用系統。協同開發環境具有可移植性,支持多種數據來源、多種圖形用戶界面及多媒體、多民族語言、CASE等協同應用系統。
上傳時間: 2015-08-21
上傳用戶:問題問題
該程序模擬UNIX中save與resume函數,并介紹在VC中如何使用匯編進行機器級的操作. 主函數很簡單首先引入兩個外部函數,extern "C"表示按傳統C命名習慣.函數save將程序指針保存在(*s)中并返回0,為什么有 if(save(&sp)){...} if后的語句看起來永遠都不會被執行,但是運行結果表明它被執行了.這個問題同UNIX中處理機調度函數(switch)的那個if語句(第一句)一樣. 程序執行完save(&sp)后得到因為條件為假而執行else語句,卻在判斷之前將程序指針保存在sp中了. else語句中的resume(&sp),該函數很狡猾將堆棧中的返回地址改變了,改到了sp所指出,即將程序指針改到了執行條件判斷前.resume返回1,條件滿足,執行if語句. save函數堆棧: eip ebp+8 s ebp+4 ebp ebp+0 resume函數堆棧與save的相同. 新建一個win32的工程,將unixc.cpp和unix.obj加入過程即可. unix.obj是用masm6.11生成的:ml /c /coff unix.asm,生成coff格式的obj而不是omf格式.
上傳時間: 2015-09-10
上傳用戶:變形金剛
Listed below are the typographical conventions used in this guide. – Example C++ code and commands to be typed by the user are in non-bold characters in typewriter font. – Items where the user has to supply a name or number are given in lower-case italic characters in typewriter font. – Sections marked with a ‡ describe features that are also available in ANSI C.
標簽: typographical conventions commands Example
上傳時間: 2013-12-20
上傳用戶:xiaoxiang
硬件平臺為Xilinx Spartan3e,編譯軟件為ISE8.1,實現了九針com口通信,鍵盤輸入回顯,switch控制LED功能。
上傳時間: 2014-01-15
上傳用戶:ANRAN
Problem Statement You are given a string input. You are to find the longest substring of input such that the reversal of the substring is also a substring of input. In case of a tie, return the string that occurs earliest in input. Definition Class: ReverseSubstring Method: findReversed Parameters: string Returns: string Method signature: string findReversed(string input) (be sure your method is public) Notes The substring and its reversal may overlap partially or completely. The entire original string is itself a valid substring (see example 4). Constraints input will contain between 1 and 50 characters, inclusive. Each character of input will be an uppercase letter ( A - Z ). Examples 0) "XBCDEFYWFEDCBZ" Returns: "BCDEF" We see that the reverse of BCDEF is FEDCB, which appears later in the string. 1)
上傳時間: 2015-09-21
上傳用戶:sunjet