If our program is:
and the person inputsCode:std::string instruction; cout << "Print out next instruction: " ; cin >> instruction;
into the variable instruction at runtime, is thereCode:cout << "hello" ;
any way to make the program interpret this as actual
source code and make it edit its own source code?
In which case it would literally print out "hello" in the next
line of the console?
Something like reflective programming?