This forum is in archive mode. You will not be able to post new content.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Vacrin

Pages: [1]
1
C - C++ / Re: Program that can write its own code in C++?
« on: October 16, 2012, 07:38:33 PM »
i guess it would be to create a program that can create new classes while in runtime and either add predetermined statements or new ones that it comes up with.

2
C - C++ / Re: Program that can write its own code in C++?
« on: October 16, 2012, 04:42:46 AM »
Yes, that is what it is, i just said it differently xD

3
C - C++ / Re: Program that can write its own code in C++?
« on: October 15, 2012, 06:30:31 AM »
i had that idea or a back and forth kinda idea, meaning i would make 2 programs, but they can edit each other so when one has to write a new code it adds it to the other and runs it and closes itself and then when the other one has to add a line it adds what was added to it and the line it has to add and then runs the other one and closes itself... dont know how productive it would be however

4
C - C++ / Re: Program that can write its own code in C++?
« on: October 14, 2012, 10:46:19 PM »
So using one of these compilers code i write a program that can then access its own code through the compiler and then write and recompile itself all while it is still running or would it have to restart itself?

5
C - C++ / Re: Program that can write its own code in C++?
« on: October 14, 2012, 08:11:39 PM »
a quine just displays its own source code, im looking for a program or the code of a program that can write more code into itself while it is compiled or in runtime.

so basically if i have a program that does nothing but accept code, then i can give it the location of a piece of code i want to insert lets say it was cout << "hello"; well then now the code can say hello when it is activated, but i dont want to go into the source code to edit it, i would like to edit it while it is in runtime or something.

this is much different from a quine because a quine only displays its own code which can be done with cout << easily

6
C - C++ / Program that can write its own code in C++?
« on: October 14, 2012, 02:30:04 AM »
Hello everyone, im looking for code that i can make write its own kind of code if i tell it to. I know that it can be done, but i have yet to see the code for such a program.


Thank you

Pages: [1]


Want to be here? Contact Ande, Factionwars or Kulverstukas on the forum or at IRC.