Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006


[Help] the help of a transfer of function. Thank you!

Background : encountered in the process of developing such a problem, I pass program for the corresponding data and the data processing function name, I call that function to deal with the preparation of background data, and report the results back to the future;
Question : I have the background to deal with all the entities function, but I can only pass on stored procedures prospects of a string variable in the function name, could use the switch variable expression judgment call as to the actual function, but the function it is to deal with too many, but the number is still uncertain function.
Assistance in such circumstances : there is no other way to achieve such a case the function call?
Thank you!

[Help] the help of a transfer of function. Thank you!

I really do not know whether there are other ways.

You set up a separate structure array, is a function of elements, and is a function addresses to write a function to be addresses were obtained with the function, packaging them into one document. This is not good?. Plus one plus one function on each array element. This is not very good?.

[Help] the help of a transfer of function. Thank you!

-->

The postings or reference Zhiding FAQ-6-4

Http://www.lslnet.com/linux/#forum/23/20040128/248812.html

[Help] the help of a transfer of function. Thank you!

Received two expert Thank you, I try to go back immediately!

[Help] the help of a transfer of function. Thank you!

Zhang witnessed a. Indeed, if not efficient, not a lot of functions that used to hash over the structure of the array is simple.

[Help] the help of a transfer of function. Thank you!

Dlopen



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com