Click here to Skip to main content
15,886,788 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:

Hello! Now i try to make Calculator, Everything good. But i want to input number and operator( +, -, ., *).... from keyboard. Can you please help me to solve these problem.
Posted
Comments
Tomas Takac 20-Nov-14 4:39am    
Could you be more specific? Like what exactly is the problem? Can you show some code too?

1 solution

There are a huge number of ways you could do this, and exactly what type of calculator you want to produce and the environment you are working in will determine a lot of factors.

So sit down, work out exactly what you want to produce:
1) A "traditional" calculator with separate on-screen buttons for each key
2) A "modern" calculator such as Microsoft Mathematics where you type in a string such as "102+405=" and it works it out from there.

Then work out what environment you will be working in - Console, WinForms, WPF, or web-based for example - and think about how you will need to implement in that environment.

But we aren't going to do it for you - you learn nothing useful if we do your homework for you!
So try it yourself, you may find it is not as difficult as you think!

If you meet a specific problem, then please ask about that and we will do our best to help. But we aren't going to do it all for you!
 
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