搜索资源列表
C_jishuanqi
- 说明: 此计算机可以计算同时超过多个操作项的什. 例如: y = 3 + 64 * (2 + 3^5) + sinPI 的值, 用括号区分优先级,如果有大量很长的算式需要计算,可以试一下这个计算器. 开发语言: C#语言,用Stack原理实现 -Note : This computer also can be calculated over a number of operational items even. For example : y = 3 64 * (2 ^ 5) sinPI val
jisuanqi
- 现在就用这个方式再实现计算器.. 表达式一旦转换成后缀表达式再进行计算就简单的不得了.遇到一个符号就弹出离他最近的两个操作数然后进行这个操作符指定的运算就ok了...运算完成后压栈继续扫描,依次重复...等到操作符没有了.所有的运算也就结束了.结果也就出来了...不必再判断优先级的什么的了.括号什么的也一并省略..爽吧. 其实在中缀转后缀的时候就可以进行计算,表达式扫描完成,计算完成. -it is a txt file based on c++ language to
Counter
- 采用后缀式实现计算器功能,能够识别括号和判断优先级-Achieved using postfix calculator function, able to identify and determine the priority of parentheses