Is there any way in C to write source which would make an executable
that excepted modifications. For instance say we have modable program
that excepts plugins. That starts with a menu.
1)Add 2)Subtract 0)Add Mod
::
When entering zero:
Mod Source
::(whatever.c or maybe .o would be better)
Say the mod we put in was to add a divide option to the main menu.
The program would then be:
1)Add 2)Subtract 3)Divide 0)Add Mod
::
In this mannor a program coud be written that could be updated by
makeing a plugin sortof like how in linux or some other *n*x system you
can use insmod. This doesn't seem to be system spasific to me. Infact
this doesn't even seem possible, however I am working on codeing a
mini-OS that would run on another by makeing its own filesystem which
just apears to the OS its running on as a large file. If anyone has
been following my posts this would make ALOT of sense. Thanks for the
help. If anyone is interested I'll post a link to my website when its
all done.
Nori