How to 'convert' char to function in C
- by Tim van Elsloo
Hi,
void someFunction() {
char *function = "anotherFunction";
const char *params[] = {"aVal","bVal","cVal"};
// How can I call the *function with the *params?
}
void anotherFunction(char *aKey, char *bKey, char *cKey) {
// Do something with *aKey, *bKey and *cKey;
}
Does someone know how to call the *function with the *params?
…