Click here to Skip to main content
15,888,454 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I need to perform the operation in my designed calculator like 1+2-3*4+5-6*7 an so on
Posted
Updated 22-Apr-13 2:04am
v3
Comments
Dave Kreskowiak 22-Apr-13 8:08am    
OK, and what do you mean by this? What type of calculator are you writing? What have you tried?
Sandeep Mewara 22-Apr-13 8:09am    
And the issue is? What have you tried so far? Where are you stuck?
A. Ramkumar 22-Apr-13 8:17am    
I need a logic till now my calculator is functioning 1+2=3,3+4=7 like that
A. Ramkumar 22-Apr-13 8:17am    
it just a simple calculator which performs add,sub,mul,div
A. Ramkumar 22-Apr-13 8:14am    
I need a logic till now my calculator is functioning 1+2=3,3+4=7 like that

1 solution

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)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900