|
-
Sep 28th, 2002, 04:44 PM
#1
Thread Starter
Lively Member
Parse mathematical expressions
I need to parse mathematical expressions,so that the user can enter "2*2+4 instead of just 8.The user should also be able to use variables,so if the user sets the variable X to 4,2*2+X would also be 8.I also need to support some simple math functions like Tan,Cos and Sin.I was wondering if there was already a function/library which can do this,if so,could you post the link to some tutorials/documentation on this?
Btw,I need this to work under Linux,and preferable also on other OS'.
Thanks in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|