一种带括号和优先级的四则运算计算器的设计与实现  被引量:1

Design and Implementation with A Bracket and Priority Four Mixed Computing Calculator

在线阅读下载全文

作  者:王彩霞[1] WANG Cai-xia (College of Electronic Information Engineering, Anhui Business College, Wuhu 241000, China)

机构地区:[1]安徽商贸职业技术学院电子信息工程系,安徽芜湖241000

出  处:《电脑知识与技术》2014年第6期3798-3802,共5页Computer Knowledge and Technology

基  金:基于IEEE802.3az的园区节能技术研究,省级科研项目(项目编号:KJ20132087)

摘  要:随着生活的便捷化,计算器成为日常生活中必不可少的工具,它可以让人们轻松的获得计算结果,缩短计算时间,提高计算效率,降低劳动强度。目前,很多计算器带有许多复杂函数的强大功能,却缺少最基本的带括号和识别运算符优先级的功能,该文利用堆栈和数组,设计一种带有括号和优先级的四则混合运算计算器,并基于C#语言,实现该计算器的主要功能。With the convenience of life, calculator become an indispensable tool in our daily life, which can make people easily get calculated results, shorten the time of calculation to improve the computational efficiency and reduce labor intensity. At pres-ent some calculators own many powerful features such as complex functions, but they are lacking in the most basic“with brack-ets”identification and operation with different priorities. In this paper, it will show you through using the stack and array to de-sign the mixed computing calculator, which has some core features of“calculation with brackets and priorities”, based on C Sharp language.

关 键 词:计算器 优先级 括号 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论;自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象