how to implement a function table
I have a project, which need to implement a function table for multiple thread call, each thread will start with a different function, and the function table should be a good solution, but I can not find the good reference or programming guide for it.
Please help me out, either a sample (working sample) or an URL. Thanks. |
I'm not sure what a function table is. You mean an array of function pointers or something else?
|
You are right, it is an array or structure of function pointer.
|
Code:
#include <stdio.h> http://www.newty.de/fpt/ |
Thanks, well done.
|
All times are GMT -5. The time now is 08:25 AM. |