In one of my prject, I want to convert String/Char * to a function pointer. String/Char * contains the name of the function decided at runtime. How to write a code so that after type-casting the char * to function pointer, I can execute the function by just calling it?
Further, I want to add RunTime to the list of functions without modifying the code. The only thing, I know, is the string which I am passing, represents the name of the function. Function does exist by that NAME. At runtime, I can select any function for calculation. This code must work across different platforms and OS