Discussion Forum

Problem using function pointer

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
manoj valan
Posted
5-Sep-2005 07:12 GMT
Toolset
C51
New! Problem using function pointer
hi!
I am using Keil C compiler(C51) 7.20 Version. i am facing some problem in pointer to function in arrays. If I add a new function to the arrays in function pointer at runtime, my program restarted when that particular newly added function is called. Pls help me in this regard.
Read-Only
Author
Stefan Duncanson
Posted
5-Sep-2005 09:28 GMT
Toolset
C51
New! RE: Problem using function pointer
" i am facing some problem in pointer to function in arrays."

You would do well to search this website for "function pointer" and read everything you can find. Once you have done that, if you are not absolutely certain you fully understand all the implications of using function pointers in C51 I would recommend you take an alternative approach. While a different approach may not be as elegant it will probably save you a lot of debugging time.

Next Thread | Thread List | Previous Thread Start a Thread | Settings