Milad Boostani wrote:
> Wow, thanks a million. You the man!
> 
> Brett McCoy <[EMAIL PROTECTED]> wrote:          On Jan 7, 2008 7:33 AM, Milad 
> <[EMAIL PROTECTED]> wrote:
> 
>> Would anyone know how to write the code for a calculator. Example you
>> enter 2*(3+2)= and after you hit the enter key after the = sign it
>> should give you 10. Can anyone gimme an idea of what method to use or
>> give me a partial code of the program to get an idea?
> 
> Here are a bunch of open source calculator projects. You can study the
> source in any of these.
> 
> http://freshmeat.net/search/?q=calculator&section=projects&Go.x=0&Go.y=0
> 
> -- Brett
> ----------------------------------------------------------
> "In the rhythm of music a secret is hidden;
> If I were to divulge it, it would overturn the world."
> -- Jelaleddin Rumi

I haven't been too bothered to do it, but if you want a project worth 
doing would be to make something like DeadLine Calculator's calculator 
(I could care less about the graphing part of the package - it wasn't 
very well done to begin with).  Unfortunately, the author took his 
website down.  Basically, it was the closest thing in software (of the 
free variety) I could find that was somewhat like my old trusty TI-82 
that died.  It is/was lacking some important features.

BTW, no one has mentioned it, but you don't need to parse an '=' symbol 
if you are waiting for someone to press the enter key.

-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

*NEW* MyTaskFocus 1.1
Get on task.  Stay on task.

http://www.CubicleSoft.com/MyTaskFocus/

Reply via email to