Put all the functions you want to call in a dll. Then, you can read function names from a text file, and call those. Let's say your dll has the functions:
void function1();
void function2();
Here is how you would call them dynamically:
Code:
#include <windows.h>
int main(int argc, char* argv[])
{
HMODULE hModule;
void (*somefn)();
hModule = LoadLibrary("mydll.dll");
if(!hModule) return 0;
somefn = (void (*)())GetProcAddress(hModule,"function1");
if(somefn)
somefn();
somefn = (void (*)())GetProcAddress(hModule,"function2");
if(somefn)
somefn();
return 0;
}