Advertisement

calculator parser needed

Started by May 21, 2002 01:25 PM
6 comments, last by haust 22 years, 8 months ago
hi, i''m looking for a simple calculator parser lib/source (c/c++). something like, for example, calculator("10 + ((50 - 2.4) / 3)"). thank for the help
Hi!

Try http://www.codeproject.com. You should find something useful here.

----------
Dave
--------Dave[ Math Studio ] A Computer Algebra System
Advertisement
flipcode, code of the day gallery

"take a look around" - limp bizkit
www.google.com
If that's not the help you're after then you're going to have to explain the problem better than what you have. - joanusdmentia

My Page davepermen.net | My Music on Bandcamp and on Soundcloud

Dave007 : thanks

davepermen : "take a look around", i did but i didn''t find this one, thanks 2
Hehe davepermen, you should probably add a <hr> on your sig so people can tell it from the text!


Helpful links:
How To Ask Questions The Smart Way | Google can help with your question | Search MSDN for help with standard C or Windows functions
why? so everyone reacts on it (and very much can actually use this tipp..)

"take a look around" - limp bizkit
www.google.com
If that's not the help you're after then you're going to have to explain the problem better than what you have. - joanusdmentia

My Page davepermen.net | My Music on Bandcamp and on Soundcloud

Advertisement
I did that on a school project: calc.zip.

The program interface is in english but the code/coments are in portuguese. Hope it helps.

____________________
Pedro Santos «» Project Y «» GameDevPT
Why stop there? You can embed something like Python or VB Script. This would actually be an ideal learning app for that. All you need it to do is evaluate a single statement. That is the most basic thing you can do with an embedded scripting engine. It may seem like overkill, but you are doing this. What else are you going to try in the future? Might as well add another tool to the toolbox.
Keys to success: Ability, ambition and opportunity.

This topic is closed to new replies.

Advertisement