文件名 :test3.c * 文件描述:预测分析法实现的语法分析器。分析如下文法: * E->E+T | E-T | T * T->T*F | T/F |F * F->(E) | i * 输入:每行含一个表达式的文本文件(#号结束)。 * 输出:分析成功或不成功信息。 * 创建人:余洪周 <nick19842000.cublog.cn> 2006-12-16 * 版本号:1.0 * 说明 :为了表示的方便采用了如下的所示表示方法: * A=E B=T * 非终结符:0=E 1=E 2=T 3=T 4=F * 终结符 :0=i 1=+ 2=- 3=* 4=/ 5=( 6=) 7=#
上传时间: 2013-12-21
上传用户:cylnpy
a) 参考《TMS320LF240x DSP结构、原理及应用》,弄清TMS320LF2407的定时器功能。 b) 测试定时器Timer1,周期中断0.1秒,并控制灯D2闪烁时间为Ts c) 单步运行程序,观察发光二极管D2的发光情况。 d) 程序装入片外,按“RUN”观察发光二极管D2的发光情况。
上传时间: 2014-12-06
上传用户:无聊来刷下
μC/OS-II Goals Probably the most important goal of μC/OS-II was to make it backward compatible with μC/OS (at least from an application’s standpoint). A μC/OS port might need to be modified to work with μC/OS-II but at least, the application code should require only minor changes (if any). Also, because μC/OS-II is based on the same core as μC/OS, it is just as reliable. I added conditional compilation to allow you to further reduce the amount of RAM (i.e. data space) needed by μC/OS-II. This is especially useful when you have resource limited products. I also added the feature described in the previous section and cleaned up the code. Where the book is concerned, I wanted to clarify some of the concepts described in the first edition and provide additional explanations about how μC/OS-II works. I had numerous requests about doing a chapter on how to port μC/OS and thus, such a chapter has been included in this book for μC/OS-II.
标签: OS-II compatible important Probably
上传时间: 2013-12-02
上传用户:jkhjkh1982
C++编码规范,摩托罗拉公司, 这本书最主要的思想来源是摩托罗拉公司st眺H聊kes和M皿Pebx为寻呼系统部 所写的6MlJ6[IR‘‘/of Zf6‘小‘C??,其次是ScoK MeyeK的两本著作坝“5v‘Ct?和 他用ZJF6cfIv‘C?十,另外,也参考了SW公RJ的Ct十比‘fb GM5d6(P6阳DW6JoP6f 6 yF8朋d62J、EnchG朋皿a等的(4设L1模式——可复用面向对象软件的基础》、以及使用TeleLogic公司Logiscope自动工 县的一些经验。最后,还参考丁许多不同组织、不同版本的关于cH编码规范的相关文 章和标准。
上传时间: 2013-12-30
上传用户:love_stanford
本书介绍了在Microsoft Windows 98、Microsoft Windows NT 4.0和Windows NT 5.0下程序写作的方法。这些程序用C语言编写并使用原始的Windows Application Programming Interface(API)。如在本章稍后所讨论的,这不是写作Windows程序的唯一方法。然而,无论最终您使用什么方式写作程序,了解Windows API都是非常重要的
上传时间: 2013-12-06
上传用户:windwolf2000
1. Matrix-chain product. The following are some instances a) <3, 5, 2, 1,10> b) <2, 7, 3, 6, 10> c) <10, 3, 15, 12, 7, 2> d) <7, 2, 4, 15, 20, 5>
标签: Matrix-chain following instances product
上传时间: 2014-11-28
上传用户:731140412
A*寻路算法,多个例子,包括Blitz Basic和Visual C++两个版本
标签: 算法
上传时间: 2014-02-21
上传用户:13188549192
Generate 100 samples of a zero-mean white noise sequence with variance , by using a uniform random number generator. a Compute the autocorrelation of for . b Compute the periodogram estimate and plot it. c Generate 10 different realizations of , and compute the corresponding sample autocorrelation sequences , and . Compute the average autocorrelation sequence as and the corresponding periodogram for . d Compute and plot the average periodogram using the Bartlett method. e Comment on the results in parts (a) through (d).
标签: zero-mean Generate sequence variance
上传时间: 2016-03-04
上传用户:朗朗乾坤
Summary Many control applications require converting some analog input to a digital format. The ADCINC12 User Module is a general-purpose, 12-bit analog to digital converter (ADC) that does just that. This Application Note is meant to be a simple introduction into its operation. The steps required to define, place, and write software are presented. Examples are developed in both assembly and C.
标签: applications converting Summary control
上传时间: 2013-12-01
上传用户:WMC_geophy
数据结构 1、算法思路: 哈夫曼树算法:a)根据给定的n个权值{W1,W2… ,Wn }构成 n棵二叉树的集合F={T1,T2…,T n },其中每棵二叉树T中只有一个带权为W i的根结点,其左右子树均空;b)在F中选取两棵根结点的权值最小的树作为左右子树构造一棵新的二叉树,且置新的二叉树的根结点的权值为其左、右子树上结点的权值之和;c)F中删除这两棵树,同时将新得到的二叉树加入F中; d)重复b)和c),直到F只含一棵树为止。
上传时间: 2016-03-05
上传用户:lacsx