首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 这是非常有挑战性的题目。对于用户输入的任意一个平面函数f(x),绘制出其函数曲线。这里最关键的技术难点就是如何实现计算表达式的值。在《编译原理》和《数据结构》的...

这是非常有挑战性的题目。对于用户输入的任意一个平面函数f(x),绘制出其函数曲线。这里最关键的技术难点就是如何实现计算表达式的值。在《编译原理》和《数据结构》的...

资 源 简 介

这是非常有挑战性的题目。对于用户输入的任意一个平面函数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 t

文 件 列 表

FunMap
MapPP.rgs
StdAfx.cpp
Resource.h
FunMap.tlb
FunMap.def
FunMap_i.c
FunMap.h
MapPP.cpp
FunMapps.def
FunMapps.mk
FunMap.dsp
map.bmp
FunMap.idl
FunMap.cpp
FunMap.rc
MapPP.h
FunMapCP.h
Map.cpp
Map.h
ReleaseMinSize
FunMap.dll
Map.htm
Map.rgs
FunMap_p.c
dlldata.c
StdAfx.h
ReleaseMinSize
Script.dsw
VIP VIP
  • 大智若愚 3小时前 成为了本站会员

  • Mason 5小时前 成为了本站会员

  • 6小时前 成为了本站会员

  • Half_Punch 1天前 成为了本站会员

  • liqing71718 1天前 成为了本站会员

  • 伟国 1天前 成为了本站会员

  • songy 1天前 成为了本站会员

  • 纯色幽默 1天前 成为了本站会员

  • odd? 1天前 成为了本站会员

  • 52JOY... 1天前 成为了本站会员

0.192465s