thebarslider
Programmer
struct com {
char nm[COMMAX];
void (*handler)();
};
How do i call the Function above, i have located the appropiate node of my structure using a name search. Now i want to call the function pointer, which will call a void method. The method name is stored in the struct as follows:
struct com comlist[COMS] =
{
{"LOOK",look},
{"L",look},
etc.......
char nm[COMMAX];
void (*handler)();
};
How do i call the Function above, i have located the appropiate node of my structure using a name search. Now i want to call the function pointer, which will call a void method. The method name is stored in the struct as follows:
struct com comlist[COMS] =
{
{"LOOK",look},
{"L",look},
etc.......