Self-Coding Program

May 25, 2016 at 6:06am
Is it possible to write a code that when you type into it a piece of code (e.g. cout << "Hi!" << endl;) it would run that code. Soz if to confusing:)
May 25, 2016 at 6:10am
closed account (48bpfSEw)
Yes, you need an interpreter.

Or a more sophisticated approach: the code saves the piece of code, starts the compiler and the linker creates an executable! ^^
Last edited on May 25, 2016 at 6:47am
Topic archived. No new replies allowed.