Self-Coding Program

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:)
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
Topic archived. No new replies allowed.