Program that can write its own code in C++
Hello everyone, i am quite new to this forum but im not new to the idea of programming. Ive looked around on the internet for some code that can write itself or even duplicate its self, but so far i havent found anything. Does anyone have any idea about how i might go about making code that can do such a thing?
i know its possible, because some AI's do it, however their code is much bigger than what im looking for because they are looking to learn, im just looking for the basic code that can write something into itself while its running, based on what i give it.