Problem calling string parse + eval from C++

I’m afraid that without being more clear about what you’re doing—what C++ code are you running?—and what happens—what is the exact output?—you are not going to get much more help.

Also, metaprogramming with strings like this is very much not recommended. It’s the only option in many dynamic languages, but Julia has a first class representation of code with which you can do real metaprogramming.

1 Like