Quote:
Originally Posted by CapnKernel
I basically want to be able to store a string in a struct and then be able to call that method when "the time is right."
|
Actually, what you're probably looking for is a "function pointer". Structs can store a pointer to a function call that you assign somewhere programmatically in code, and then when you want to call that function you just dereference the pointer (in a specific way). Check it out:
http://www.newty.de/fpt/index.html
-Danny