Joined: 20 Mar 2007
Location: Epinay sur Orge France
|Posted: Wed Mar 21, 2007 11:13 pm Post subject: Exceptions
I want translate the functplot program example,whitch is in Delphi, in C++.
This program use Rchart and TMathExpression.
I have problems with the Delphi statement : try...except because I am not an experienced progammer.
Is it possible to translate this statement in C++ and how ?
In other words I can plot a function if it does not contain a sqrt or a denominator.
For example if there is a denominator I have an error message : 'Component "MathExpr":division by zero'.
How can I avoid this and continue the plotting with other values of the variable ?
I am under Windows Xp and C++Builder2006.
Be indulgent for my poor english language.
Thanks for all help