计算器中的多个操作 [英] Multiple operations in calculator

查看:79
本文介绍了计算器中的多个操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在我设计的计算器中执行操作,如1 + 2-3 * 4 + 5-6 * 7等等

I need to perform the operation in my designed calculator like 1+2-3*4+5-6*7 an so on

推荐答案

我''对不起,但是我们无法回答这个问题。

我们现在不知道你的计算器是如何工作的,所以我们不能建议你可以改进它的方法。



相反,看一些现有的实现(并且有很多实现!)

Google:Calculator c# [ ^ ] - 他们可能会为您提供有关如何扩展自己的想法(或说服您拥有自己的想法)以错误的方式开始)
I''m sorry, but we can''t answer this.
We have no idea how your calculator works at present, so we can''t suggest ways in which you could improve it.

Instead, look at some existing implementations (and there are a lot of them!)
Google: Calculator c#[^] - they may give you ideas on how to extend your own (or persuade you that you have gone the wrong way to start with)


这篇关于计算器中的多个操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆