Description: 1.本程序主要的功能是利用链表将用户输入的任意精度中缀表达式转换成后缀表达式,为了以便于区分数据和操作符,数据间用下划线将它们区分开来,并且计算出此表达式的值。
2.需要注意的是:此程序所叙述的四则运算是狭义的,并没有显式的要求用户以中括弧“[]”或者是大括弧“{}”进行输入,因为这样会大大的加大程序的代码量,为了简便起见,同时又为了实现四则混合运算的功能,只要用户将含有中括弧或者是大括弧的地方均以小括弧表示即可。-1. This program is the main function of the use of linked lists of user input to the arbitrary precision converted into ordinary expression suffix expression, in order to distinguish between data and operator, data will be used as an underscore to separate them, and calculate the value of this expression. 2. Note : This procedure described by the four operation is narrow, and no explicit demands to which users brackets "[]" or large bracket "()" for the importation, because it will greatly increase the volume of procedures code, for the sake of simplicity, but also to achieve four mixed computing functions, as long as the user which contains a large bracket, or brackets in both small brackets can be expressed. Platform: |
Size: 4229 |
Author:刘新夏 |
Hits:
Description: 把中缀表达式转换为后缀表达式的算法,我的数据结构课程设计!-sergeant Chinese expression for the conversion suffix expression algorithm, the data structure my course design! Platform: |
Size: 159250 |
Author:红魔 |
Hits:
Description: 一个小程序,用c++语言实现简单的一遍编译器,完成中缀表达式与后缀表达式之间的转换。-a small program, c simple language what the compiler, completed sergeant with the suffix expression between the expression change. Platform: |
Size: 2685 |
Author:刘刚 |
Hits:
Description: 本程序的功能是:将中缀表达式(只能含有的运算符为( ) / * + - =)转化为后缀表达式,-this procedure is the function : China will decorate the expression (containing only the operator () / * - =) into suffix expression, Platform: |
Size: 1857 |
Author:吉尔 |
Hits:
Description: 是一个能在VC++ 6.0运行程序。将一个中缀表达式转化为一个后缀表达式,也就是一个逆布兰式。-is in a VC 6.0 operating procedures. China will be a sergeant expression into a suffix expression, which is a reverse - Blantyre. Platform: |
Size: 1901 |
Author:刘浏 |
Hits:
Description: 此次课程设计我的设计题目是:判别后缀表达式。其具体要解决的问题是:
(1)假设表达式由单字母变量和双目四则运算符构成;
(2)从键盘输入任意一个非空的表达式;
(3)利用栈,判别输入的表达式是否是一个正确的后缀表达式;
(4)把正确的后缀表达式转换为前缀表达式;
(5)测试用例自己设计。
-current curriculum design I design entitled : distinguishing suffix expression. To solve their specific problems are : (a) It is assumed that the expression of single-letter variable binocular and four Operators composition; (2) from the keyboard input an arbitrary non-empty expression; (3) using stack, Discriminant importation of whether the expression is a correct expression of the suffix; (4) the correct conversion of expression suffix prefix expression; (5) The test case of its own design. Platform: |
Size: 21092 |
Author:朱杰 |
Hits:
Description: 实现中缀表达式向后缀表达式的转换。要求: 键盘输入一个表达式,并以字符#表示结束; 输出为后缀表达式形式。-realization grade expression to the conversion formula suffix. Requirements : an expression of keyboarding and to the end of said characters #; Output suffix expression form. Platform: |
Size: 961 |
Author:刘 正 |
Hits:
Description: 这个c语言程序实现中缀表达式变为后缀表达式,并且实现其计算-the language program which is made up of expressions into a suffix expression, and its calculation Platform: |
Size: 2349 |
Author:刘文旭 |
Hits:
Description: 实现中缀表达式向后缀表达式的转换。要求: 键盘输入一个表达式,并以字符#表示结束; 输出为后缀表达式形式。-realization grade expression to the conversion formula suffix. Requirements : an expression of keyboarding and to the end of said characters#; Output suffix expression form. Platform: |
Size: 1024 |
Author:刘 正 |
Hits:
Description: 以字符序列的方式从终端输入语法正确的,不含变量的整数表达式。利用中缀表达式变为后缀表达式的求值算法实现对算术四则混合运算表达式求值,并演示出在求值中运算符栈,操作数栈,输入字符和主要操作的变化过程。-The way to sequence of characters from the terminal input grammar correctly, do not contain variables integer expression. Use midfix expression of the evaluated a suffix expression of arithmetic algorithm to realize four mixed operation expressions are evaluated, and play in the evaluated operators stack, operand stack, input character and the changing process of the main operation.
Platform: |
Size: 3072 |
Author:江洋 |
Hits:
Description: 这个算法能够帮助你成功的把中缀表达式转换成后缀表达式。-This algorithm can help you succeed in the infix expression into a suffix expression. Platform: |
Size: 4096 |
Author:nipeipei |
Hits: