C
CptDondo
I think the answer to this is "no" but I figured I'd try....
I have a function name as a string:
funcName = "xyz";
and I have a function:
void xyz(blah) {}
Is there some way to call function xyz using the string contained in
funcName?
Something like (I know this is wrong)
(void)(*funcName)(blah)???
--Yan
I have a function name as a string:
funcName = "xyz";
and I have a function:
void xyz(blah) {}
Is there some way to call function xyz using the string contained in
funcName?
Something like (I know this is wrong)
(void)(*funcName)(blah)???
--Yan