I would like to build a basic calculator using C#.
However, I aim to build one which performs calculation only after the equal button is clicked.
For example, when someone type in "10+12/2-2", the calculator will display "10+12/2-2 = 10" after the "=" button is clicked.
Any idea how to do it?
Thank you very much for your help.
Dipankar BiswasPosted Aug 3, 2014, 1:00 PM
Code:
Sagar PardeshiPosted Jul 24, 2014, 1:22 AM
follow below url it's help u......
http://code.msdn.microsoft.com/windowsdesktop/Simple-Calculator-d1d8cf4c
Abhishek YadavPosted Jul 23, 2014, 9:21 PM
Please find the below link to get solution of your question.
http://www.codeproject.com/Articles/88435/Simple-Guide-to-Mathematical-Expression-Parsing
Hope this will help you..
Mahesh ChandPosted Jul 21, 2014, 9:04 AM