| Programming C# C++ (7) Delphi (604) Java (8) JavaScript (55) perl (40) php (12) VBScript (1) Visual Basic (1) |
Equivalent in C++ to JavaScripts "eval()" function?
Question: Is there an equivalent in C++ to the "eval()" function that is found in Javascript?Answer: JavaScript is an interpreted language which makes it easy to provide a formula interpreter as a standard function. C++ is compiled and adding an "eval()" like function would mean major overhead. Therefore such a function is missing in C++ standard libraries.Comments:
|