C
code break
typedef void(*FP);
FP UserMenuFunk[7];
FP UserFunk[7];
Please your comments on this help me lot .
FP UserMenuFunk[7];
FP UserFunk[7];
Please your comments on this help me lot .
Possible typo:
`void(*FP)' should be replaced by `void(*FP)()'
that is `FP' is a function pointer to the function which takes no
argument and return nothing. See example below:
code break said:typedef void(*FP);
FP UserMenuFunk[7];
FP UserFunk[7];
Please your comments on this help me lot .
Possible typo:
`void(*FP)' should be replaced by `void(*FP)()'
that is `FP' is a function pointer to the function which takes no
argument
and return nothing. See example below:
#include <stdio.h>
typedef void(*FP)();
FP UserMenuFunk[7];
FP UserFunk[7];
void some_func() {
printf("some_func");
}
UserMenuFunk[1] = some_func1;int main() {
UserMenuFunk[0] = some_func;
UserMenuFunk[0]();
typedef void(*FP);
FP UserMenuFunk[7];
FP UserFunk[7];
Please your comments on this help me lot .
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.