首页 | 本学科首页   官方微博 | 高级检索  
     检索      

算术运算式波兰式、逆波兰式的转换
引用本文:邹冬兰,刘金花.算术运算式波兰式、逆波兰式的转换[J].新余高专学报,2004,9(2):26-28.
作者姓名:邹冬兰  刘金花
作者单位:新余高等专科学校,计算机与信息工程系,江西,新余,338031
摘    要:算术运算式可以表示成中序式、波兰式和逆波兰式,而在编译过程中一般采用波兰式或逆波兰式。就算术运算式转换成波兰式和逆波兰式的问题,给出了利用栈来实现的C语言算法。

关 键 词:算法  波兰式  逆波兰式
文章编号:1008-6765(2004)02-0026-03
修稿时间:2003年12月5日

The transform of Polish notation and inverse Polish notation in arithmetic expression
ZOU Dong-lan,LIU Jin-hua.The transform of Polish notation and inverse Polish notation in arithmetic expression[J].Journal of XinYu College,2004,9(2):26-28.
Authors:ZOU Dong-lan  LIU Jin-hua
Abstract:Arithmetic operation can be expressed in Chinese expression,Polish expression or inverse Polish expression.In the course of compiling,the Polish expression or inverse Polish expression.In the course of compiling,the Polish expression or inverse Polish expression is usually used.The paper discusses the transform of the Polish expression and inverse Polish expression and points out that C language arithmetic operation can be realized by using stack.
Keywords:Arithmetic operation  Polish notation  Inverse Polish notation  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号