Guest_imported
New member
- Jan 1, 1970
- 0
Experts:
I have an assignment coming up that requires me to write an RPC (Remote Procedural Call) that will interface with my main program. The RPC needs to be written to pass into a function pointer parameter.
What I want to ask is, how does function pointers make the code any more modular/independent than it already is? Let say... using an ordinary function? I do not understand the modularity between using a function pointer and an ordinary function. Can someone please clear this up for me?
Thanks.
Sedge Troll
I have an assignment coming up that requires me to write an RPC (Remote Procedural Call) that will interface with my main program. The RPC needs to be written to pass into a function pointer parameter.
What I want to ask is, how does function pointers make the code any more modular/independent than it already is? Let say... using an ordinary function? I do not understand the modularity between using a function pointer and an ordinary function. Can someone please clear this up for me?
Thanks.
Sedge Troll