Can C or cpp language do the thing such as eval("string") which in javascript? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can C or cpp language do the thing such as eval("string") which in javascript?

7th Sep 2016, 3:48 PM
JS of MC(not C++ || java)
JS of MC(not C++ || java) - avatar
2 Answers
+ 2
Not natively AFAIK. You can use exprtk or tinyexpr for arithmetic expressions for example.
7th Sep 2016, 6:46 PM
Zen
Zen - avatar
+ 2
Roger that!(That is my old account -,-)
22nd Jan 2017, 10:59 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar