ProLinga-Calc Project |
---|
Expression Calculator — Class used to perform C expression calculations.
#include <prolinga/Calc.hpp> class PlCalc { public:PlCalc (); ~PlCalc ();char * getCalc (char *expression); ... }; typedef PlCalc *PlCalcPtr;
char * PlCalc::getCalc (char *expression);
This function is the calculation expression function. A string containing a calculation expression will be processed and the result of this calculation will be returned.
| the calculation expression string. |
Returns : | the result of the expression. |
<< Part I. ProLinga-Calc C++ API | Part II. ProLinga-Calc User Guide >> |