how to calculate an expression
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
I have an expression including sin,cos,and log. Example 3*sin(4)-2. I want to know how to calculate it. Can you help me?Thanks a lot.
you might try this, first: http://www.codeproject.com/cpp/rpnexpressionevaluator.asp[^] Cleek | Image Toolkits | Thumbnail maker
-
I have an expression including sin,cos,and log. Example 3*sin(4)-2. I want to know how to calculate it. Can you help me?Thanks a lot.
Take a look at the Floating-Point Functions[^]. -- jlr http://jlamas.blogspot.com/[^]