Define Pointer To Function
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hi every Body. I want to Define a Pointer to point to a function. for example: int f(char b){ // Some things } Thanks a lot. :rose: Iman Ghasr-e-fakhri
-
Hi every Body. I want to Define a Pointer to point to a function. for example: int f(char b){ // Some things } Thanks a lot. :rose: Iman Ghasr-e-fakhri
int (*FuncPtr)(char);
FuncPtr = f;
--Mike-- http://home.inreach.com/mdunn/ "Make sure that if you are using a blow torch that you don't set anything on fire." -- Chris Maunder