S
simonjpaulger
In PHP (and other languages too, im not sure), you can call a function
using a variable itself, the variables string contains the function
name, which in turn runs.
In my situation, i have an xml file with a common descriptive name, and
a function name. I want to be able to parse the xml file and call the
function name defined in the xml, just like php can call functions with
variables. I've checked both The C Programming Language by K&R and the
internet in general but can not find anything, but im not sure im
looking with the right terminology.
Is it possible in C to call functions using variable strings?
Can anyone point me in the right direction?
Many thanks,
Brilte
using a variable itself, the variables string contains the function
name, which in turn runs.
In my situation, i have an xml file with a common descriptive name, and
a function name. I want to be able to parse the xml file and call the
function name defined in the xml, just like php can call functions with
variables. I've checked both The C Programming Language by K&R and the
internet in general but can not find anything, but im not sure im
looking with the right terminology.
Is it possible in C to call functions using variable strings?
Can anyone point me in the right direction?
Many thanks,
Brilte