DelphiFAQ Home Search:
General :: Programming :: C++


Articles:

This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.

Featured Article

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.


Generated 12:01:26 on May 24, 2017