atlyfscript

所属分类:串口编程
开发工具:Visual C++
文件大小:67KB
下载次数:26
上传日期:2005-05-14 20:48:06
上 传 者vip005
说明:  这是非常有挑战性的题目。对于用户输入的任意一个平面函数f(x),绘制出其函数曲线。这里最关键的技术难点就是如何实现计算表达式的值。在《编译原理》和《数据结构》的书中,都有对表达式运算方法的论述。说实在的,在编译型计算机语言中实现对用户输入表达式的运算是非常困难的。需要对表达式进行扫描,去括号,按照运算符的优先级生成2叉树,然后遍历该树生成逆波兰表达式,再然后通过栈的方法进行运算。如果在表达式中再包含有函数的话......描述起来都麻烦,更不要说用程序实现了:-(
(This is a very challenging issue. For user input an arbitrary planar function f (x), mapping out its function curves. Here the most critical technical problems is how to achieve calculated the value of the expression. "Compiling Principle" and "data structure," the book, have right of expression Operational discussed. Indeed, the computer language compiler to achieve expression of the user input operation is very difficult. Need to scan expression to the brackets, in accordance with the priority Operators Generation 2-ary tree, and then traverse the tree generated reverse Polish expression, and then through the stack approach to computing. If the expression again contains the function described ...... these are trouble, not to mention the procedures used to achieve the )

文件列表:
FunMap (0, 2005-04-29)
FunMap\MapPP.rgs (459, 2005-04-29)
FunMap\StdAfx.cpp (315, 2005-04-29)
FunMap\Resource.h (949, 2005-04-29)
FunMap\FunMap.tlb (3392, 2005-05-01)
FunMap\FunMap.def (220, 2005-04-29)
FunMap\FunMap_i.c (1340, 2005-05-01)
FunMap\FunMap.h (21171, 2005-05-01)
FunMap\MapPP.cpp (197, 2005-04-29)
FunMap\FunMapps.def (248, 2005-04-29)
FunMap\FunMapps.mk (442, 2005-04-29)
FunMap\FunMap.dsp (13345, 2005-04-30)
FunMap\map.bmp (246, 2005-04-30)
FunMap\FunMap.idl (2486, 2005-05-01)
FunMap\FunMap.cpp (1991, 2005-04-30)
FunMap\FunMap.rc (3644, 2005-04-30)
FunMap\MapPP.h (2788, 2005-04-30)
FunMap\FunMapCP.h (1010, 2005-04-29)
FunMap\Map.cpp (5138, 2005-05-01)
FunMap\Map.h (8448, 2005-05-01)
FunMap\ReleaseMinSize (0, 2005-04-30)
FunMap\ReleaseMinSize\FunMap.dll (110592, 2005-05-01)
FunMap\Map.htm (179, 2005-04-29)
FunMap\Map.rgs (777, 2005-04-29)
FunMap\FunMap_p.c (27357, 2005-05-01)
FunMap\dlldata.c (833, 2005-05-01)
FunMap\StdAfx.h (950, 2005-04-29)
Script.dsw (632, 2005-04-29)

近期下载者

相关文件


收藏者