Executing C++ Code

Is there a way to do this? I want to execute c++ code like php eval function. User will enter a c++ code and my exe will exec it. Is it possible?
It's possible, but not very easy to pull off. You'd have to have a lot of knowledge on how C++ works (even internally) and know how to write different types of parsers. I suggest you work on different things than this, because as easy as it may sound in layman's terms, that's as hard as it is to pull off.
Topic archived. No new replies allowed.