If I understand the phrase "solve equation strings" correctly, then
you wish to evaluate the value of a mathematical function for a given
value of the argument.

If that is so, then as far as I know, there is no easy way of doing it
at runtime. Your program (which needs the value of the expression) has
to have an interpreter that evaluates the function which you provide
at runtime. You might like to write such an interpreter, though!
Kernighan and Pike describe, in all the detail you wish, just such
an interpreter towards the end of their wonderful book.

If anyone has an easier solution, I'd be very interested to learn about
that.

- Manas Laha

Subhadeep panda wrote:
> 
>  hello..
>  I was wondering if I could solve equation strings
>  runtime thru my C prog i.e without compiling
> everytime
>  I wanted to evaluate a new string ...
>  thank you

--
To unsubscribe, send mail to [EMAIL PROTECTED] with the body
"unsubscribe ilug-cal" and an empty subject line.
FAQ: http://www.ilug-cal.org/help/faq_list.html

Reply via email to