文件名称:caculator
-
所属分类:
- 标签属性:
- 上传时间:2013-09-18
-
文件大小:6.78kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
本程序主要的功能是利用链表将用户输入的任意精度中缀表达式转换成后缀表达式,为了以便于区分数据和操作符,数据间用下划线将它们区分开来,并且计算出此表达式的值。 2.需要注意的是:此程序所叙述的四则运算是狭义的,并没有显式的要求用户以中括弧“[]”或者是大括弧“{}”进行输入,因为这样会大大的加大程序的代码量,为了简便起见,同时又为了实现四则混合运算的功能,只要用户将含有中括弧或者是大括弧的地方均以小括弧表示即可。-The main function of this program is to use the list to the user to enter an arbitrary precision infix expression into postfix expression, in order to distinguish between data and operators, the data underscore between them separate, and this expression is calculated values. 2. Note that: This procedure is described in four arithmetic narrow and did not require the user to explicitly in brackets " []" or braces " {}" for input, as this will greatly increase the program the amount of code, for simplicity, and in order to achieve four mixed computing capabilities, as long as the user will contain the brackets or braces are in parentheses indicate the place can be.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
caculator.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.